🚀 perf(nvim): changed event loading for dropbar plugin
This commit is contained in:
parent
615a4ead67
commit
a631e48786
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -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 = {},
|
||||
|
|
Loading…
Add table
Reference in a new issue