Is it possible to get the location of all error nodes from the treesitter parser #1831
Answered
by
theHamsta
IndianBoy42
asked this question in
Q&A
-
In lua code. I want to be able to see them all and jump to them using telescope or hop.nvim |
Beta Was this translation helpful? Give feedback.
Answered by
theHamsta
Sep 18, 2021
Replies: 1 comment
-
To see them map If you want to have their locations, you can launch a query with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
IndianBoy42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To see them map
luaTSError
to a highlight you want them to have.If you want to have their locations, you can launch a query with
(ERROR) @error
. The Neovim documentation contains information in how to launch queries and process the results.