diff options
Diffstat (limited to 'vim/.vim/vimrc')
-rwxr-xr-x | vim/.vim/vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 14a465d..c56b01c 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -17,10 +17,11 @@ set diffopt+=algorithm:patience autocmd! autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal +autocmd BufNewFile,BufRead *.sql setlocal filetype=mysql autocmd BufNewFile,BufRead *.m setlocal filetype=octave autocmd FileType asm,c,h,go,glsl \ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8 -autocmd FileType vim,sh,lua,tex,cmake,cpp,sql,html,octave,pascal +autocmd FileType vim,sh,lua,tex,cmake,cpp,mysql,html,octave,pascal \ setlocal shiftwidth=2 autocmd FileType rst setlocal shiftwidth=3 autocmd FileType java setlocal omnifunc=javacomplete#Complete |