jsonpath.nvim icon indicating copy to clipboard operation
jsonpath.nvim copied to clipboard

`ts_utils.get_node_at_cursor` is deprecated

Open Myzel394 opened this issue 1 year ago • 0 comments

Hey, I just wanted to let you know that ts_utils.get_node_at_cursor is deprecated (see https://github.com/phelipetls/jsonpath.nvim/blob/main/lua/jsonpath.lua#L33). You should use vim.treesitter.get_node() instead.

See https://github.com/nvim-treesitter/nvim-treesitter/pull/6906 for more

(I'll open a PR for this)

Myzel394 avatar Jul 11 '24 10:07 Myzel394