jsonpath.nvim
jsonpath.nvim copied to clipboard
A Neovim plugin to help you access JSON values, powered by treesitter
First attempt at YAML support. Choice of yaml or json parsing is made based on filetype which can be explicitly set, if needed: `:set filetype=yaml` Related: https://github.com/phelipetls/jsonpath.nvim/issues/1
How can I use this inside files with other extensions? Do I need to set up lsp correctly to support more than one filetype?
Can this be extended to support yaml files?
Closes #12; This PR adds the ability to specify the buffer and the start node; thus giving developers and the user more flexibility. The old, deprecated APIs have been removed....
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)
is it possible to enable winbar to work when editing a new file buffer from vim command `:e tmp.json`? Have looked to [yaml.nvim](https://github.com/cuducos/yaml.nvim/tree/main) to understand how that is different and...