diff options
| author | Ilia Choly <ilia.choly@gmail.com> | 2024-06-04 09:06:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-04 06:06:02 -0700 |
| commit | 8cbb1f20e557461c8417583a7f69d53aaaef920b (patch) | |
| tree | 7b24c7e171b712d77fa74ebc13e8541dd663393f /runtime/doc/treesitter.txt | |
| parent | 61025c9e7aa41dae11422162a54cc7696f7e783e (diff) | |
| download | rneovim-8cbb1f20e557461c8417583a7f69d53aaaef920b.tar.gz rneovim-8cbb1f20e557461c8417583a7f69d53aaaef920b.tar.bz2 rneovim-8cbb1f20e557461c8417583a7f69d53aaaef920b.zip | |
refactor(lua): use tuple syntax everywhere #29111
Diffstat (limited to 'runtime/doc/treesitter.txt')
| -rw-r--r-- | runtime/doc/treesitter.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt index 0b84bb60d4..25b070b310 100644 --- a/runtime/doc/treesitter.txt +++ b/runtime/doc/treesitter.txt @@ -764,9 +764,9 @@ get_node({opts}) *vim.treesitter.get_node()* • {opts} (`table?`) Optional keyword arguments: • {bufnr} (`integer?`) Buffer number (nil or 0 for current buffer) - • {pos} (`{ [1]: integer, [2]: integer }?`) 0-indexed (row, - col) tuple. Defaults to cursor position in the current - window. Required if {bufnr} is not the current buffer + • {pos} (`[integer, integer]?`) 0-indexed (row, col) tuple. + Defaults to cursor position in the current window. Required + if {bufnr} is not the current buffer • {lang} (`string?`) Parser language. (default: from buffer filetype) • {ignore_injections} (`boolean?`) Ignore injected languages |