aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/_meta.lua
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-09-15 09:43:48 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-10-10 19:20:32 +0200
commitc3d21ad1bccd9a2975be73b1115213fd884eada3 (patch)
tree8c7144e6ddc18a6cf9c097f5516b6f9b74221112 /runtime/lua/vim/treesitter/_meta.lua
parentfd39f5ce8c9bbda1b77ff6c03553148fadac5d57 (diff)
downloadrneovim-c3d21ad1bccd9a2975be73b1115213fd884eada3.tar.gz
rneovim-c3d21ad1bccd9a2975be73b1115213fd884eada3.tar.bz2
rneovim-c3d21ad1bccd9a2975be73b1115213fd884eada3.zip
docs: small fixes
Co-authored-by: Wansmer <wansmer@gmail.com> Co-authored-by: Andrew Voynov <andrewvoynov.b@gmail.com> Co-authored-by: David Moberg <david.moberg@mediatek.com>
Diffstat (limited to 'runtime/lua/vim/treesitter/_meta.lua')
-rw-r--r--runtime/lua/vim/treesitter/_meta.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/treesitter/_meta.lua b/runtime/lua/vim/treesitter/_meta.lua
index d01b7be3b0..cd8462bcb7 100644
--- a/runtime/lua/vim/treesitter/_meta.lua
+++ b/runtime/lua/vim/treesitter/_meta.lua
@@ -29,6 +29,7 @@
---@field sexpr fun(self: TSNode): string
---@field equal fun(self: TSNode, other: TSNode): boolean
---@field iter_children fun(self: TSNode): fun(): TSNode, string
+---@field field fun(self: TSNode, name: string): TSNode[]
local TSNode = {}
---@param query userdata