diff options
Diffstat (limited to 'runtime/lua/vim/treesitter.lua')
-rw-r--r-- | runtime/lua/vim/treesitter.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/treesitter.lua b/runtime/lua/vim/treesitter.lua index b63247aa2c..ee66ba9f9b 100644 --- a/runtime/lua/vim/treesitter.lua +++ b/runtime/lua/vim/treesitter.lua @@ -525,6 +525,7 @@ function M.inspect_tree(opts) for i, node in pg:iter() do if node.id == id then a.nvim_win_set_cursor(w, { i, col }) + break end end end, |