commit f75d583b0de531206de2da7cb4c026a222dcaa78 (tree) parent 80a109dbfac02ea0185d7ee7916f7b6793b45e35 Author: Motiejus Jakštys <motiejus@uber.com> Date: Sat, 8 May 2021 18:20:47 +0300 update .vimrc and add latex folding Diffstat:
| M | vim/.vim/vimrc | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc @@ -70,14 +70,14 @@ let g:go_fmt_options = { let $USEGO111MODULE="off" " strace -au FileType strace set nonu +au FileType strace setlocal nonu " yaml -au FileType yaml set ts=2 sw=2 +au FileType yaml setlocal ts=2 sw=2 " sql au FileType sql setlocal formatprg=pg_format\ - -au FileType sql set ts=2 sw=2 sws=2 +au FileType sql setlocal ts=2 sw=2 sws=2 let g:loaded_sql_completion = 0 let g:omni_sql_no_default_maps = 1 @@ -85,4 +85,4 @@ let g:omni_sql_no_default_maps = 1 autocmd BufRead,BufNewFile *mutt-* setfiletype mail " TeX -au FileType tex set spell spelllang=en_us +au FileType tex setlocal spell spelllang=en_us