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
Just discovered the feature, and I quite like it. However, by applying it to all items, you also get a lot of spurious highlighting of words such as in or file, often used for example in names of snippets.
I think limiting the highlighting to items from the LSP source only would produce the best result by highlighting the correct things, while not highlighting things that are not are nor code.
The text was updated successfully, but these errors were encountered:
Saghen
changed the title
FR: completion.menu.dra.treesitter should only affect items from the LSP sourcecompletion.menu.draw.treesitter should only affect items from the LSP source
Dec 5, 2024
For anyone looking to implement this, the treesitter option should be changed to accept a table of source_ids that it applies to. The documentation should then recommend treesitter = { "lsp" }
Feature Description
Just discovered the feature, and I quite like it. However, by applying it to all items, you also get a lot of spurious highlighting of words such as
in
orfile
, often used for example in names of snippets.I think limiting the highlighting to items from the LSP source only would produce the best result by highlighting the correct things, while not highlighting things that are not are nor code.
The text was updated successfully, but these errors were encountered: