summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/treesitter/_meta/tsnode.lua
AgeCommit message (Collapse)AuthorFiles
2026-03-20docs: miscJustin M. Keyes1
2025-03-21docs(treesitter): document TSNode:named_children()Riley Bruins1
This commit also gives an internal documentation description for `TSNode:__has_ancestor()`.
2025-02-21fix(treesitter): `TSNode:field()` returns all children with the given fieldRiley Bruins1
2025-01-27docs(treesitter): fix TSNode:range() type signature #32224Riley Bruins1
Uses an overload to properly show the different return type based on the input parameter.
2025-01-27fix: resolve all remaining LuaLS diagnosticsLewis Russell1
2025-01-27build(deps)!: bump tree-sitter to HEAD, wasmtime to v29.0.1 (#32200)Christian Clason1
Breaking change: `ts_node_child_containing_descendant()` was removed Breaking change: tree-sitter 0.25 (HEAD) required
2024-10-11feat(treesitter): introduce child_with_descendant()Riley Bruins1
This commit also marks `child_containing_descendant()` as deprecated (per upstream's documentation), and uses `child_with_descendant()` in its place. Minimum required tree-sitter version will now be `0.24`.
2024-10-03docs(treesitter): generate TSNode, TSTree docs #30643Riley Bruins1
**Problem:** The documentation for `TSNode` and `TSTree` methods is incomplete from the LSP perspective. This is because they are written directly to the vimdoc, rather than in Lua and generated to vimdoc. **Solution:** Migrate the docs to Lua and generate them into the vimdoc. This requires breaking up the `treesitter/_meta.lua` file into a directory with a few different modules. This commit also makes the vimdoc generator slightly more robust with regard to sections that have multiple help tags (e.g. `*one* *two*`)