aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorJongwook Choi <wookayin@gmail.com>2023-12-04 04:00:49 -0500
committerGitHub <noreply@github.com>2023-12-04 10:00:49 +0100
commitcf612c64b0fc87c399bc5c72735335c5e73d6de1 (patch)
tree8bfd68e4dac5145cce42126f572ecc7ac9d85c50 /src/nvim/api/vim.c
parent589f4761ee896cea5c8d1b1dad6655bd0b78fc2d (diff)
downloadrneovim-cf612c64b0fc87c399bc5c72735335c5e73d6de1.tar.gz
rneovim-cf612c64b0fc87c399bc5c72735335c5e73d6de1.tar.bz2
rneovim-cf612c64b0fc87c399bc5c72735335c5e73d6de1.zip
fix(treesitter): allow passing lang to vim.treesitter.get_node() now correctly takes opts.lang (#26360)
PROBLEM: `vim.treesitter.get_node()` does not recognize the `lang` in the option table. This option was used in somewhere else, for instance, `vim.treesitter.dev` (for `inspect_tree`) but was never implemented. SOLUTION: Make `get_node()` correctly use `opts.lang` when getting a treesitter parser.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions