1
0
Fork 0
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:
Connor Olding 2022-05-28 03:14:07 +02:00
parent 64d9b36cee
commit 07d572f85b

View file

@ -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