Refactor: move completion functions to autoload

This commit is contained in:
Santos Gallegos 2020-09-04 12:44:19 -05:00 committed by Thomas Vigouroux
parent b8453e63b2
commit 1ba18329c7
5 changed files with 36 additions and 35 deletions

View file

@ -91,15 +91,15 @@ M.commands = {
run = install_info,
args = {
"-nargs=0",
}
},
},
TSModuleInfo = {
run = module_info,
args = {
"-nargs=?",
"-complete=custom,v:lua.ts_available_modules"
}
}
"-complete=customlist,nvim_treesitter#available_modules",
},
},
}
return M