diff options
Diffstat (limited to 'lua/nvim-treesitter/install.lua')
| -rw-r--r-- | lua/nvim-treesitter/install.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index 9993cd8f..8b4aa783 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -235,30 +235,30 @@ M.commands = { run = install(false, true), args = { "-nargs=+", - "-complete=custom,v:lua.ts_installable_parsers" - } + "-complete=customlist,nvim_treesitter#installable_parsers", + }, }, TSInstallSync = { run = install(true, true), args = { "-nargs=+", - "-complete=custom,v:lua.ts_installable_parsers" - } + "-complete=customlist,nvim_treesitter#installable_parsers", + }, }, TSUpdate = { run = M.update, args = { "-nargs=*", - "-complete=custom,v:lua.ts_installed_parsers" - } + "-complete=customlist,nvim_treesitter#installed_parsers", + }, }, TSUninstall = { run = M.uninstall, args = { "-nargs=+", - "-complete=custom,v:lua.ts_installed_parsers" - } - } + "-complete=customlist,nvim_treesitter#installed_parsers", + }, + }, } return M |
