diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index db98a6d..b5c1687 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -20,12 +20,12 @@ use { } use 'https://github.com/L3MON4D3/LuaSnip' --- compile and install new plugins when this file is saved +-- compile and install new plugins when this is save in this dir are written vim.cmd([[ augroup packer_user_config autocmd! autocmd User PackerComplete PackerCompile - autocmd BufWritePost plugins.lua source | PackerInstall + autocmd BufWritePost nvim/lua/*.lua source | PackerInstall augroup end ]])