diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2020-09-04 12:44:19 -0500 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-04 21:20:30 +0200 |
| commit | 1ba18329c75b93e5c8b31fbfeea63637c79d1359 (patch) | |
| tree | 0453cb8017cdf351a72b85905aa4af0bdf0d2d5f /lua/nvim-treesitter/info.lua | |
| parent | b8453e63b29d9ddbee0a96122abe8cc5905e4a5c (diff) | |
Refactor: move completion functions to autoload
Diffstat (limited to 'lua/nvim-treesitter/info.lua')
| -rw-r--r-- | lua/nvim-treesitter/info.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/nvim-treesitter/info.lua b/lua/nvim-treesitter/info.lua index 092c7c8c..77fd945f 100644 --- a/lua/nvim-treesitter/info.lua +++ b/lua/nvim-treesitter/info.lua @@ -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 |
