diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2026-09-24 13:23:00 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2026-09-25 10:28:19 +0100 |
| commit | f6aac851ddd82db5241a56ddfb9cc9a9aec8f7e5 (patch) | |
| tree | dd8b56695c75e5097d0cc356b9d1a5d79ae6638e /runtime/lua/vim/loader.lua | |
| parent | 6dd80224de65318d6c162586ac568a0fe061748b (diff) | |
| download | rneovim-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/loader.lua')
0 files changed, 0 insertions, 0 deletions