diff options
author | Alexis Hovorka <[email protected]> | 2021-02-18 17:54:41 -0700 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2021-02-18 17:54:41 -0700 |
commit | 7ef4d005e6904fac650efc145fc4121ce50debdd (patch) | |
tree | 16bf4df8733f5e52186b544d9dae48f791d4116c /base/vimrc | |
parent | 25493ab8d19fd914b197d45eda6488338ef1a065 (diff) |
[fix] Make some vim settings local instead of global
Diffstat (limited to 'base/vimrc')
-rw-r--r-- | base/vimrc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -269,11 +269,11 @@ au BufNewFile,BufRead * call SetLocalOptions(bufname("%")) " To move elsewhere ====---- au Syntax json normal zR -au BufNewFile,BufRead *.less set filetype=less +au BufNewFile,BufRead *.less setl filetype=less au! BufWritePost $MYVIMRC source $MYVIMRC -au FileType gitcommit set textwidth=72 -au FileType gitcommit set colorcolumn=73 -au! BufRead,BufNewFile gitcommit set spell -au! BufRead,BufNewFile *.md set filetype=markdown -au! BufRead,BufNewFile *.md set spell +au FileType gitcommit setl textwidth=72 +au FileType gitcommit setl colorcolumn=73 +au! BufRead,BufNewFile gitcommit setl spell +au! BufRead,BufNewFile *.md setl filetype=markdown +au! BufRead,BufNewFile *.md setl spell pa! matchit |