add filetype.vim to override default detection
This commit is contained in:
parent
d8b8fed799
commit
0b2d8b96da
10
filetype.vim
Normal file
10
filetype.vim
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
if exists("did_load_filetypes")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
augroup filetypedetect
|
||||||
|
" Override filetypes for certain files
|
||||||
|
autocmd! BufNewFile,BufRead *.frag setfiletype glsl
|
||||||
|
autocmd! BufNewFile,BufRead *.vert setfiletype glsl
|
||||||
|
autocmd! BufNewFile,BufRead *.glsl setfiletype glsl
|
||||||
|
augroup END
|
Loading…
x
Reference in New Issue
Block a user