summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/info.lua
diff options
context:
space:
mode:
authorkiyan42 <yazdani.kiyan@protonmail.com>2020-06-29 16:07:16 +0200
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-06-30 08:32:49 +0200
commitce119de2e3a85ed7f0b081c6733ae167c2fc5599 (patch)
tree2cd70208b41ef9af9f62d5f534dd7f0e963bb960 /lua/nvim-treesitter/info.lua
parent2b6b1e3e6159bd689dad677c50a5ab0189df0e08 (diff)
update installer with sync and some fixes
- add sync method for installing using `system` - remove `descriptions` in command configs - use install(lang) in ensure_installed and make it compatible
Diffstat (limited to 'lua/nvim-treesitter/info.lua')
-rw-r--r--lua/nvim-treesitter/info.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/lua/nvim-treesitter/info.lua b/lua/nvim-treesitter/info.lua
index 0c99f3ff..98b75951 100644
--- a/lua/nvim-treesitter/info.lua
+++ b/lua/nvim-treesitter/info.lua
@@ -81,16 +81,14 @@ M.commands = {
run = install_info,
args = {
"-nargs=0",
- },
- description = '`:TSInstallInfo` print installation state for every filetype'
+ }
},
TSModuleInfo = {
run = module_info,
args = {
"-nargs=?",
"-complete=custom,v:lua.ts_available_modules"
- },
- description = '`:TSModuleInfo` print module state for every filetype, if module is specified, only for current module'
+ }
}
}