-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use rg --json
for highlighting the matches
#4
Comments
Love it! Too add to that, I feel like it should have no problem highlighting more complex regex searches as well, which I'm curious how Also, @TC72 had done some experimenting with highlighting on my old live_grep_raw PR as well; Posting his thoughts here in case it helps... nvim-telescope/telescope.nvim#670 (comment) |
I have code which works thanks to @Conni2461 giving me some code to convert ansi codes to highlighting. I think we could give |
I already said it once but again Thats why |
@Conni2461 thanks for explaining. |
Hi @jugarpeupv . It has not yet been implemented. |
rg
provides a--json
option that returns offsets of the matches. This can be used to highlight the matches.It should use
json_decode
orvim.json.decode
depending on availablility where.vim.json
has priorityvim.json
is going to be shipped with nvim 0.6.relates to nvim-telescope/telescope.nvim#1448
The text was updated successfully, but these errors were encountered: