diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2020-06-15 16:03:25 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2020-06-15 16:03:25 +0700 |
commit | 4b637dae5cb2db3dc66af59b3afb8370e5686d23 (patch) | |
tree | d3e1379ef4ff908777beb0d3c6284b34e4e3a934 /vim | |
parent | 2cc273fb67b0151beae897c7dccc55c4cf833959 (diff) | |
download | dotfiles-4b637dae5cb2db3dc66af59b3afb8370e5686d23.tar.gz |
Update 2020-06-15
Diffstat (limited to 'vim')
-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 |