updates for D

This commit is contained in:
Josh Holtrop 2019-12-03 13:15:10 -05:00
parent 0dbfee7ea1
commit 1b4ec5dc5b

3
vimrc
View File

@ -130,7 +130,8 @@ if has("autocmd")
autocmd BufRead,BufNewFile Rsconscript setf ruby autocmd BufRead,BufNewFile Rsconscript setf ruby
" install glsl.vim in ~/.vim/syntax to use syntax highlighting for GLSL: " install glsl.vim in ~/.vim/syntax to use syntax highlighting for GLSL:
autocmd BufRead,BufNewFile *.frag,*.vert,*.fp,*.vp,*.glsl setf glsl autocmd BufRead,BufNewFile *.frag,*.vert,*.fp,*.vp,*.glsl setf glsl
autocmd Syntax {cpp,c,idl} runtime syntax/doxygen.vim autocmd Syntax {cpp,c,idl,d} runtime syntax/doxygen.vim
autocmd Syntax {c,cpp,d} set formatoptions=croql
autocmd QuickFixCmdPre grep copen autocmd QuickFixCmdPre grep copen
autocmd QuickFixCmdPre vimgrep copen autocmd QuickFixCmdPre vimgrep copen
autocmd FileType html setlocal sw=2 ts=2 sts=2 autocmd FileType html setlocal sw=2 ts=2 sts=2