🚀 perf(nvim): changed event loading for dropbar plugin

This commit is contained in:
Sergio Laín 2023-12-01 14:11:31 +01:00
parent 615a4ead67
commit a631e48786
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ return {
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "bash", "fish" })
vim.list_extend(opts.ensure_installed, { "bash" })
end
end,
},

View file

@ -1,7 +1,7 @@
if vim.fn.has("nvim-0.10") == 1 then
return {
"Bekaboo/dropbar.nvim",
event = "BufRead",
event = "BufWinEnter",
opts = {
sources = {
terminal = {
@ -17,7 +17,7 @@ else
version = "*",
dependencies = {
"SmiteshP/nvim-navic",
"nvim-tree/nvim-web-devicons", -- optional dependency
"nvim-tree/nvim-web-devicons",
},
event = "BufRead",
opts = {},