mirror of
https://github.com/notwa/rc
synced 2024-11-05 06:49:03 -08:00
use C syntax for shader files (for now)
This commit is contained in:
parent
64d9b36cee
commit
07d572f85b
1 changed files with 10 additions and 7 deletions
17
home/vimrc
17
home/vimrc
|
@ -210,13 +210,16 @@ if has('autocmd')
|
|||
|
||||
augroup filetypes
|
||||
au!
|
||||
au BufRead,BufNewFile *.lib setlocal ft=spice
|
||||
au BufRead,BufNewFile *.bt setlocal ft=c
|
||||
au BufRead,BufNewFile *.1sc setlocal ft=c
|
||||
au BufRead,BufNewFile *.krk setlocal ft=python
|
||||
au BufRead,BufNewFile *.asm setlocal ft=lips
|
||||
au BufRead,BufNewFile *.nim setlocal ft=nim
|
||||
au BufRead,BufNewFile *.pde setlocal ft=processing
|
||||
au BufRead,BufNewFile *.lib setlocal ft=spice
|
||||
au BufRead,BufNewFile *.bt setlocal ft=c
|
||||
au BufRead,BufNewFile *.1sc setlocal ft=c
|
||||
au BufRead,BufNewFile *.fs setlocal ft=c
|
||||
au BufRead,BufNewFile *.glsl setlocal ft=c
|
||||
au BufRead,BufNewFile *.hlsl setlocal ft=c
|
||||
au BufRead,BufNewFile *.krk setlocal ft=python
|
||||
au BufRead,BufNewFile *.asm setlocal ft=lips
|
||||
au BufRead,BufNewFile *.nim setlocal ft=nim
|
||||
au BufRead,BufNewFile *.pde setlocal ft=processing
|
||||
au BufRead,BufNewFile,StdinReadPost * call DetectShebang()
|
||||
augroup END
|
||||
|
||||
|
|
Loading…
Reference in a new issue