From ce119de2e3a85ed7f0b081c6733ae167c2fc5599 Mon Sep 17 00:00:00 2001 From: kiyan42 Date: Mon, 29 Jun 2020 16:07:16 +0200 Subject: 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 --- lua/nvim-treesitter/info.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lua/nvim-treesitter/info.lua') 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' + } } } -- cgit v1.2.3