chore(nvim): install plugins automatically
Use `PackerSync` instead of `PackerCompile` as this will both compile and install the plugins.
This commit is contained in:
parent
66b1a4373a
commit
2eb22cf317
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue