aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/install-parsers.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2026-09-07 15:51:08 +0100
committerChristian Clason <ch.clason+github@icloud.com>2026-09-07 16:56:38 +0200
commit5cb0114e6242625db56dd6440e945ed1ece10bc7 (patch)
tree75212786cccd9359909a54f4cd95a4289cdbd8b6 /scripts/install-parsers.lua
parentperf(install): make install_lang unconditional (diff)
downloadnvim-treesitter-5cb0114e6242625db56dd6440e945ed1ece10bc7.tar
nvim-treesitter-5cb0114e6242625db56dd6440e945ed1ece10bc7.tar.gz
nvim-treesitter-5cb0114e6242625db56dd6440e945ed1ece10bc7.tar.bz2
nvim-treesitter-5cb0114e6242625db56dd6440e945ed1ece10bc7.tar.lz
nvim-treesitter-5cb0114e6242625db56dd6440e945ed1ece10bc7.tar.xz
nvim-treesitter-5cb0114e6242625db56dd6440e945ed1ece10bc7.tar.zst
nvim-treesitter-5cb0114e6242625db56dd6440e945ed1ece10bc7.zip
fix(async): preserve wrapped function argument and return types
Preserve wrapped parameter lists so installer options type-check. Carry return types through tasks, wait and await, and check with EmmyLua 0.25.1. Assisted-by: Codex
Diffstat (limited to 'scripts/install-parsers.lua')
-rwxr-xr-xscripts/install-parsers.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/install-parsers.lua b/scripts/install-parsers.lua
index 855c73cbd..9bc46ed7b 100755
--- a/scripts/install-parsers.lua
+++ b/scripts/install-parsers.lua
@@ -17,7 +17,6 @@ for i = 1, #_G.arg do
end
end
----@type async.Task
local task = update and require('nvim-treesitter').update('all', { summary = true })
or require('nvim-treesitter').install(
#parsers > 0 and parsers or 'all',