fix: automatically compiling packer on save

This commit is contained in:
Oliver Davies 2021-12-03 08:14:05 +00:00
parent 7eb5ce9a8e
commit 5d18678ab5

View file

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