fix: automatically compiling packer on save
This commit is contained in:
parent
7eb5ce9a8e
commit
5d18678ab5
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue