Tweak startup conditions
This commit is contained in:
parent
4df98c9468
commit
1f656c12ae
|
@ -3,6 +3,7 @@ return {
|
||||||
dependencies = "nvim-tree/nvim-web-devicons",
|
dependencies = "nvim-tree/nvim-web-devicons",
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
init = function() vim.g.barbar_auto_setup = false end,
|
init = function() vim.g.barbar_auto_setup = false end,
|
||||||
-- opts = require "config.barbar",
|
config = true,
|
||||||
|
opts = require "config.barbar",
|
||||||
version = "^1.0.0", -- optional: only update when a new 1.x version is released
|
version = "^1.0.0", -- optional: only update when a new 1.x version is released
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,10 +6,12 @@ return {
|
||||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||||
"MunifTanjim/nui.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
},
|
},
|
||||||
config = function()
|
cmd = "NeoTree",
|
||||||
|
event = { "BufEnter" },
|
||||||
|
init = function()
|
||||||
vim.g.loaded_netrw = 1
|
vim.g.loaded_netrw = 1
|
||||||
vim.g.loaded_netrwPlugin = 1
|
vim.g.loaded_netrwPlugin = 1
|
||||||
vim.g.neo_tree_remove_legacy_commands = 1
|
vim.g.neo_tree_remove_legacy_commands = 1
|
||||||
require("neo-tree").setup(require "config.neotree")
|
|
||||||
end,
|
end,
|
||||||
|
config = function() require("neo-tree").setup(require "config.neotree") end,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
return {
|
return {
|
||||||
"ahmedkhalf/project.nvim",
|
"ahmedkhalf/project.nvim",
|
||||||
event = { "VimEnter", "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
config = function() require("project_nvim").setup(require "config.project") end,
|
config = function() require("project_nvim").setup(require "config.project") end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue