You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version 0.1.6 tag 0.1.6 branch 0.1.x commit 6312868
checkhealth telescope
==============================================================================
telescope: require("telescope.health").check()
Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.
Checking external dependencies ~
- OK rg: found ripgrep 14.1.1
- OK fd: found fd 10.2.0
===== Installed extensions ===== ~
Telescope Extension: `fzf` ~
- OK lib working as expected
- OK file_sorter correctly configured
- OK generic_sorter correctly configured
Telescope Extension: `projects` ~
- No healthcheck provided
Steps to reproduce
(0. Install lunarvim)
Install telescope
Look for old files (or anything where you have access to preview the file)
Look for a gleam file
Expected behavior
No response
Actual behavior
I don't get any syntax highlighting for gleam files
Minimal config
lunarvim
The text was updated successfully, but these errors were encountered:
I think this issue is closely related.
I think the root cause is that built-in Telescope previewer does not apply the same filetype rules as it is normally done for normal buffers.
I don't know (I just asked on the last ocmment in the linked issue) if there is a way to set ft for telescope previewer based on file extension etc., maybe through an autocmd.
I hope this gets solved one day.
Description
Although my syntax highlighting works when writing gleam (through treesitter), it doesn't work in telescope's preview.
I'm using lunarvim with some small tweaks (but I don't think they should break this)
Here is a small gleam code if you wanna quickly test it:
Neovim version
Operating system and version
macOS 15.1.1 (24B2091)
Telescope version / branch / rev
checkhealth telescope
Steps to reproduce
(0. Install lunarvim)
Expected behavior
No response
Actual behavior
I don't get any syntax highlighting for gleam files
Minimal config
lunarvim
The text was updated successfully, but these errors were encountered: