issues
search
ziontee113
/
syntax-tree-surfer
A plugin for Neovim that helps you surf through your document and move elements around using the nvim-treesitter API.
MIT License
469
stars
9
forks
source link
fix: ensure parsed before get_node
#18
Closed
llllvvuu
closed
11 months ago
llllvvuu
commented
11 months ago
get_node_at_cursor()
has moved into Neovim core
get_node_at_cursor()
requires tree to be parsed. This is not guaranteed, for example if turning highlighter off to use a different highlighter like VSCode
ziontee113
commented
11 months ago
Thank you :+1:
get_node_at_cursor()
has moved into Neovim coreget_node_at_cursor()
requires tree to be parsed. This is not guaranteed, for example if turning highlighter off to use a different highlighter like VSCode