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
+2 -2
View File
@@ -5,7 +5,7 @@
"src": "https://github.com/stevearc/conform.nvim" "src": "https://github.com/stevearc/conform.nvim"
}, },
"mini.nvim": { "mini.nvim": {
"rev": "6664ea9af6c43dc31934e27476bbe61c556c8dc1", "rev": "ac5dffcc52b8378fbb15efeb0497a83e57a0b01c",
"src": "https://github.com/nvim-mini/mini.nvim" "src": "https://github.com/nvim-mini/mini.nvim"
}, },
"nvim-dap": { "nvim-dap": {
@@ -17,7 +17,7 @@
"src": "https://github.com/neovim/nvim-lspconfig" "src": "https://github.com/neovim/nvim-lspconfig"
}, },
"nvim-treesitter": { "nvim-treesitter": {
"rev": "de9f0f3dbdab1952f136dc7bd67ff3bafdf994da", "rev": "9a168f6357ed21c3a636e1727bc7d382abc451b8",
"src": "https://github.com/nvim-treesitter/nvim-treesitter" "src": "https://github.com/nvim-treesitter/nvim-treesitter"
}, },
"rose-pine": { "rose-pine": {
+1 -1
View File
@@ -9,6 +9,7 @@ end)
-- Treesitter -- Treesitter
Config.now_if_args(function() 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('bash', 'sh')
vim.treesitter.language.register('tsx', 'typescriptreact') vim.treesitter.language.register('tsx', 'typescriptreact')
@@ -35,7 +36,6 @@ Config.now_if_args(function()
end end
if #missing > 0 then if #missing > 0 then
vim.pack.add({ 'https://github.com/nvim-treesitter/nvim-treesitter' })
require('nvim-treesitter').install(missing) require('nvim-treesitter').install(missing)
end end
end) end)