diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-11 00:01:55 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-11 00:01:55 +0200 |
commit | 912073a2c24f8342b34ccc29ea3480d887b99be5 (patch) | |
tree | a00757b2cd010cf35d4c40b348e338b1426e9c7f /lua/config | |
parent | f3f910938dfc032b7e39412aa09deac35da1984e (diff) |
Revert "fix(bootstrap): mv autocmd"
This reverts commit f3f910938dfc032b7e39412aa09deac35da1984e.
Diffstat (limited to 'lua/config')
-rw-r--r-- | lua/config/packer.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/config/packer.lua b/lua/config/packer.lua index 10d17da..9302149 100644 --- a/lua/config/packer.lua +++ b/lua/config/packer.lua @@ -3,6 +3,14 @@ if not status_ok then return end +-- Autocommand that reloads neovim whenever you save the plugins.lua file +vim.cmd [[ + augroup packer_user_config + autocmd! + autocmd BufWritePost plugins.lua source <afile> | PackerSync + augroup end +]] + -- Have packer use a popup window packer.init { display = { |