Optimise some startup events
This commit is contained in:
parent
0516fde7d3
commit
449f2f3f6d
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
"https://github.com/direnv/direnv.vim.git",
|
||||
name = "direnv.vim",
|
||||
lazy = false,
|
||||
event = { "DirChangedPre" },
|
||||
config = function()
|
||||
vim.g.direnv_auto = 1
|
||||
vim.g.direnv_silent_load = 1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons", "SmiteshP/nvim-navic", "folke/noice.nvim" },
|
||||
event = { "BufEnter" },
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = true,
|
||||
opts = {
|
||||
options = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
"ahmedkhalf/project.nvim",
|
||||
name = "project_nvim",
|
||||
event = { "BufEnter" },
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = true,
|
||||
opts = {
|
||||
ignore_lsp = { "efm", "null-ls" },
|
||||
|
|
Loading…
Reference in a new issue