fix(plugins): treesitter not being installed when opening empty buffer on initial installation
This commit is contained in:
parent
ee11dde8bd
commit
4ea5b44cb9
1 changed files with 2 additions and 2 deletions
|
@ -193,7 +193,7 @@ return packer.startup(function()
|
||||||
config = function()
|
config = function()
|
||||||
require('cosmic.core.navigation')
|
require('cosmic.core.navigation')
|
||||||
end,
|
end,
|
||||||
event = 'BufRead',
|
event = 'BufEnter',
|
||||||
disable = vim.tbl_contains(user_plugins.disable, 'telescope'),
|
disable = vim.tbl_contains(user_plugins.disable, 'telescope'),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -218,7 +218,7 @@ return packer.startup(function()
|
||||||
'nvim-treesitter/nvim-treesitter-refactor',
|
'nvim-treesitter/nvim-treesitter-refactor',
|
||||||
},
|
},
|
||||||
run = ':TSUpdate',
|
run = ':TSUpdate',
|
||||||
event = 'BufRead',
|
event = 'BufEnter',
|
||||||
config = function()
|
config = function()
|
||||||
require('cosmic.core.treesitter')
|
require('cosmic.core.treesitter')
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Reference in a new issue