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()
|
||||
require('cosmic.core.navigation')
|
||||
end,
|
||||
event = 'BufRead',
|
||||
event = 'BufEnter',
|
||||
disable = vim.tbl_contains(user_plugins.disable, 'telescope'),
|
||||
})
|
||||
|
||||
|
@ -218,7 +218,7 @@ return packer.startup(function()
|
|||
'nvim-treesitter/nvim-treesitter-refactor',
|
||||
},
|
||||
run = ':TSUpdate',
|
||||
event = 'BufRead',
|
||||
event = 'BufEnter',
|
||||
config = function()
|
||||
require('cosmic.core.treesitter')
|
||||
end,
|
||||
|
|
Loading…
Add table
Reference in a new issue