mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
Refactor: move completion functions to autoload
This commit is contained in:
parent
b8453e63b2
commit
1ba18329c7
5 changed files with 36 additions and 35 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue