🚀 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",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
if type(opts.ensure_installed) == "table" then
|
if type(opts.ensure_installed) == "table" then
|
||||||
vim.list_extend(opts.ensure_installed, { "bash", "fish" })
|
vim.list_extend(opts.ensure_installed, { "bash" })
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
if vim.fn.has("nvim-0.10") == 1 then
|
if vim.fn.has("nvim-0.10") == 1 then
|
||||||
return {
|
return {
|
||||||
"Bekaboo/dropbar.nvim",
|
"Bekaboo/dropbar.nvim",
|
||||||
event = "BufRead",
|
event = "BufWinEnter",
|
||||||
opts = {
|
opts = {
|
||||||
sources = {
|
sources = {
|
||||||
terminal = {
|
terminal = {
|
||||||
|
@ -17,7 +17,7 @@ else
|
||||||
version = "*",
|
version = "*",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"SmiteshP/nvim-navic",
|
"SmiteshP/nvim-navic",
|
||||||
"nvim-tree/nvim-web-devicons", -- optional dependency
|
"nvim-tree/nvim-web-devicons",
|
||||||
},
|
},
|
||||||
event = "BufRead",
|
event = "BufRead",
|
||||||
opts = {},
|
opts = {},
|
||||||
|
|
Loading…
Add table
Reference in a new issue