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
Is your feature request related to a problem? Please describe.
It would be nice to have some amount of syntax highlighting in the search results.
Describe the solution you'd like
The obvious problem with this is that we don't want to load all those many files at once to do some syntax highlighting in only part of it.
Does treesitter support any sort of "highlight this range" without needing to load anything more of the file beyond a few surrounding lines? (It would still require loading a bunch of files however, since we shell out to some library for getting all these locations I believe)
It may also be possible to only do some hacky syntax highlighting of that single line it gives us. This might sometimes make it look like garbage, but may capture the majority of the value.
Other editors don't do this as far as I know.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It would be nice to have some amount of syntax highlighting in the search results.
Describe the solution you'd like
The obvious problem with this is that we don't want to load all those many files at once to do some syntax highlighting in only part of it.
Does treesitter support any sort of "highlight this range" without needing to load anything more of the file beyond a few surrounding lines? (It would still require loading a bunch of files however, since we shell out to some library for getting all these locations I believe)
It may also be possible to only do some hacky syntax highlighting of that single line it gives us. This might sometimes make it look like garbage, but may capture the majority of the value.
Other editors don't do this as far as I know.
The text was updated successfully, but these errors were encountered: