diff options
author | Jongwook Choi <wookayin@gmail.com> | 2023-12-04 04:00:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 10:00:49 +0100 |
commit | cf612c64b0fc87c399bc5c72735335c5e73d6de1 (patch) | |
tree | 8bfd68e4dac5145cce42126f572ecc7ac9d85c50 /scripts/gen_filetype.lua | |
parent | 589f4761ee896cea5c8d1b1dad6655bd0b78fc2d (diff) | |
download | rneovim-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 'scripts/gen_filetype.lua')
0 files changed, 0 insertions, 0 deletions