feat: drop TSInstallInfo in favor of better checkhealth

also fixes the hole in install.compilers
This commit is contained in:
Christian Clason 2023-06-06 11:02:28 +02:00
parent 37957d6bcf
commit 5a70048116
4 changed files with 70 additions and 87 deletions

View file

@ -18,10 +18,6 @@ local function complete_installed_parsers(arglead)
end
-- create user commands
api.nvim_create_user_command('TSInstallInfo', function()
require('nvim-treesitter.install').info()
end, { nargs = 0, desc = 'List available treesitter parsers' })
api.nvim_create_user_command('TSInstall', function(args)
require('nvim-treesitter.install').install(args.fargs, { force = args.bang })
end, {