fix: always load nvim-treesitter

This commit is contained in:
2026-09-14 20:38:03 +02:00
parent 10406758d8
commit f6ed9c992c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -9,6 +9,7 @@ end)
-- Treesitter
Config.now_if_args(function()
vim.pack.add({ 'https://github.com/nvim-treesitter/nvim-treesitter' })
vim.treesitter.language.register('bash', 'sh')
vim.treesitter.language.register('tsx', 'typescriptreact')
@@ -35,7 +36,6 @@ Config.now_if_args(function()
end
if #missing > 0 then
vim.pack.add({ 'https://github.com/nvim-treesitter/nvim-treesitter' })
require('nvim-treesitter').install(missing)
end
end)