add glsl au command in vimrc
This commit is contained in:
parent
a964d0bd19
commit
cce18b0b6c
2
vimrc
2
vimrc
@ -107,4 +107,6 @@ if has("autocmd")
|
|||||||
autocmd FileType dxl set syntax=cpp
|
autocmd FileType dxl set syntax=cpp
|
||||||
" open all buffers in a new tab
|
" open all buffers in a new tab
|
||||||
" au BufAdd,BufNewFile * nested tab sball
|
" au BufAdd,BufNewFile * nested tab sball
|
||||||
|
" install glsl.vim in ~/.vim/syntax to use syntax highlighting for GLSL:
|
||||||
|
" au BufNewFile,BufRead *.frag,*.vert,*.fp,*.vp,*.glsl setf glsl
|
||||||
endif " has("autocmd")
|
endif " has("autocmd")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user