Replies: 1 comment 1 reply
-
Thanks for the suggestion! 'mini.cursorword' will keep highlighting only based on the text (word under cursor, a.k.a. What you are asking for is not really achievable with tree-sitter (as it does not really keep connections between nodes, only their structure). It is doable with LSP., though. On Neovim 0.10 there is a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would find more useful if cursorword module highlights instances of the current variable in the cursor instead of just copies of this word. It should be achievable via treesitter.
Additionally, a command to jump between those instances would be huge.
Beta Was this translation helpful? Give feedback.
All reactions