Hi,
does anyone know of a syntax highlighting file for Vim for shader files?
When I get too bored I may just cook up one of my own, just wanted to know if there's one out there. Searching the 'net didn't turn up anything for me.
thx
Advertisement
Page 1 of 1
Vim syntax highlighting for shaders
Anyone?
#2
Posted 23 December 2009 - 10:03 PM
#3
Posted 24 December 2009 - 12:50 AM
Boredness came over me so ... here's the quick'n'dirty highlighting:
http://my-serve.rs/tmp/shader.vim
Needs to be placed inside VIMs syntax/ directory (e.g. ~/.vim/syntax/ ) and requires a file type detection, e.g. put
Without: http://my-serve.rs/t...der-without.png
With: http://my-serve.rs/tmp/shader-with.png
Not like a Christmas tree but at least better
http://my-serve.rs/tmp/shader.vim
Needs to be placed inside VIMs syntax/ directory (e.g. ~/.vim/syntax/ ) and requires a file type detection, e.g. put
au BufRead,BufNewFile *.shader setfiletype shader
into ~/.vim/filetype.vim .Without: http://my-serve.rs/t...der-without.png
With: http://my-serve.rs/tmp/shader-with.png
Not like a Christmas tree but at least better
#4
Posted 24 December 2009 - 12:59 AM
n1.
- Optimized exe; builds of ioq3 engine for urt With GoogleTranslate, Bumpy, dmaHD, iKALiZER, Raw Mouse, Bug Fixes, ..
- Networking, lag meter, and gaming consistency guide
Advertisement
#6
Posted 27 January 2010 - 12:50 AM
rfx, I need an emacs syntax highligher for shaders.
Page 1 of 1
1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users
Advertisement