aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/dev.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2026-09-24 13:23:00 +0100
committerLewis Russell <me@lewisr.dev>2026-09-25 10:28:19 +0100
commitf6aac851ddd82db5241a56ddfb9cc9a9aec8f7e5 (patch)
treedd8b56695c75e5097d0cc356b9d1a5d79ae6638e /runtime/lua/vim/treesitter/dev.lua
parent6dd80224de65318d6c162586ac568a0fe061748b (diff)
downloadrneovim-f6aac851ddd82db5241a56ddfb9cc9a9aec8f7e5.tar.gz
rneovim-f6aac851ddd82db5241a56ddfb9cc9a9aec8f7e5.tar.bz2
rneovim-f6aac851ddd82db5241a56ddfb9cc9a9aec8f7e5.zip
fix(treesitter): type synchronous parse results as non-nil
LanguageTree:parse() always returns trees when no callback is supplied, but its shared return type also permits nil for asynchronous parsing. Add the synchronous overload and document that distinction. AI-assisted
Diffstat (limited to 'runtime/lua/vim/treesitter/dev.lua')
0 files changed, 0 insertions, 0 deletions