aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2021-02-18 17:54:41 -0700
committerAlexis Hovorka <[email protected]>2021-02-18 17:54:41 -0700
commit7ef4d005e6904fac650efc145fc4121ce50debdd (patch)
tree16bf4df8733f5e52186b544d9dae48f791d4116c
parent25493ab8d19fd914b197d45eda6488338ef1a065 (diff)
[fix] Make some vim settings local instead of global
-rw-r--r--base/vimrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/base/vimrc b/base/vimrc
index db762ef..203cb2d 100644
--- a/base/vimrc
+++ b/base/vimrc
@@ -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