From 2eb22cf317ce09d2693f93f6a8bf65d01a3bb4f3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 23 Dec 2021 14:54:57 +0000 Subject: [PATCH] chore(nvim): install plugins automatically Use `PackerSync` instead of `PackerCompile` as this will both compile and install the plugins. --- nvim/.config/nvim/lua/opdavies/vim.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/lua/opdavies/vim.lua b/nvim/.config/nvim/lua/opdavies/vim.lua index 838d34d..f77bf8b 100644 --- a/nvim/.config/nvim/lua/opdavies/vim.lua +++ b/nvim/.config/nvim/lua/opdavies/vim.lua @@ -3,7 +3,7 @@ local function set_autocmd() autocmd BufRead,BufNewFile *.test set filetype=php 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 setlocal colorcolumn=50,72