Completion: use custom instead of customlist

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/396
This commit is contained in:
Santos Gallegos 2020-09-05 10:20:31 -05:00 committed by Kiyan Yazdani
parent 9e22864d03
commit 7a1f6b1586
4 changed files with 12 additions and 12 deletions

View file

@ -235,28 +235,28 @@ M.commands = {
run = install(false, true),
args = {
"-nargs=+",
"-complete=customlist,nvim_treesitter#installable_parsers",
"-complete=custom,nvim_treesitter#installable_parsers",
},
},
TSInstallSync = {
run = install(true, true),
args = {
"-nargs=+",
"-complete=customlist,nvim_treesitter#installable_parsers",
"-complete=custom,nvim_treesitter#installable_parsers",
},
},
TSUpdate = {
run = M.update,
args = {
"-nargs=*",
"-complete=customlist,nvim_treesitter#installed_parsers",
"-complete=custom,nvim_treesitter#installed_parsers",
},
},
TSUninstall = {
run = M.uninstall,
args = {
"-nargs=+",
"-complete=customlist,nvim_treesitter#installed_parsers",
"-complete=custom,nvim_treesitter#installed_parsers",
},
},
}