diff --git a/config/nvim/lua/plugins/neotree.lua b/config/nvim/lua/plugins/neotree.lua index 61edcf7e..b98511b6 100644 --- a/config/nvim/lua/plugins/neotree.lua +++ b/config/nvim/lua/plugins/neotree.lua @@ -6,8 +6,6 @@ return { "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended "MunifTanjim/nui.nvim", }, - cmd = "Neotree", - event = { "BufReadPre", "BufNewFile" }, config = function() vim.g.loaded_netrw = 1 vim.g.loaded_netrwPlugin = 1 diff --git a/config/nvim/lua/plugins/project.lua b/config/nvim/lua/plugins/project.lua index e97cf62e..9255b7f6 100644 --- a/config/nvim/lua/plugins/project.lua +++ b/config/nvim/lua/plugins/project.lua @@ -1,5 +1,5 @@ return { "ahmedkhalf/project.nvim", - event = { "BufReadPre", "BufNewFile" }, + event = { "VimEnter", "BufReadPre", "BufNewFile" }, config = function() require("project_nvim").setup(require "config.project") end, }