fix: always load nvim-treesitter
This commit is contained in:
@@ -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