[mini.pick:grep] Treesitter highlight #2151
Replies: 2 comments 3 replies
-
|
Loosely related is the discussion here: #988 |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for sharing!
To be perfectly honest, if an advice is to not use it, then here is probably not the best place to post.
I think the correct place for this kind of thing is Neovim core. I think there would be an interest in having some variant of this under Also, couple of quick notes:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Related:
This is a proof of concept:
Caution
This code relies on snacks.nvim. Don’t use it.
Caution
No match highlighting.
No caching.
Note
Doesn’t highlight multiline
ifstatements in Lua.(don't use)
If
mini.nvimhad a function similar to H.get_highlights from snacks.nvim, adding syntax highlighting to thegreppicker would be relatively easy. It could be undermiscorextra.Am I missing something? Is there already a way to do so?
Beta Was this translation helpful? Give feedback.
All reactions