fix: always load nvim-treesitter
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@
|
||||
"src": "https://github.com/stevearc/conform.nvim"
|
||||
},
|
||||
"mini.nvim": {
|
||||
"rev": "6664ea9af6c43dc31934e27476bbe61c556c8dc1",
|
||||
"rev": "ac5dffcc52b8378fbb15efeb0497a83e57a0b01c",
|
||||
"src": "https://github.com/nvim-mini/mini.nvim"
|
||||
},
|
||||
"nvim-dap": {
|
||||
@@ -17,7 +17,7 @@
|
||||
"src": "https://github.com/neovim/nvim-lspconfig"
|
||||
},
|
||||
"nvim-treesitter": {
|
||||
"rev": "de9f0f3dbdab1952f136dc7bd67ff3bafdf994da",
|
||||
"rev": "9a168f6357ed21c3a636e1727bc7d382abc451b8",
|
||||
"src": "https://github.com/nvim-treesitter/nvim-treesitter"
|
||||
},
|
||||
"rose-pine": {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user