chore(nvim): install plugins automatically

Use `PackerSync` instead of `PackerCompile` as this will both compile
and install the plugins.
This commit is contained in:
Oliver Davies 2021-12-23 14:54:57 +00:00
parent 66b1a4373a
commit 2eb22cf317

View file

@ -3,7 +3,7 @@ local function set_autocmd()
autocmd BufRead,BufNewFile *.test set filetype=php autocmd BufRead,BufNewFile *.test set filetype=php
autocmd BufWritePost packer.lua luafile % autocmd BufWritePost packer.lua luafile %
autocmd BufWritePost packer.lua PackerCompile autocmd BufWritePost packer.lua PackerSync
autocmd FileType gitcommit highlight ColorColumn ctermbg=8 autocmd FileType gitcommit highlight ColorColumn ctermbg=8
autocmd FileType gitcommit setlocal colorcolumn=50,72 autocmd FileType gitcommit setlocal colorcolumn=50,72