mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat: drop TSInstallInfo in favor of better checkhealth
also fixes the hole in install.compilers
This commit is contained in:
parent
37957d6bcf
commit
5a70048116
4 changed files with 70 additions and 87 deletions
|
|
@ -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, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue