Friday, July 23, 2010

Change filetype sl to renderman shader language instead of slang

Vim detects the extension .sl as slang filetype. I want that vim
detects the extension .sl as renderman shader lang filetype by
default and not as slang filetype.

I have add to my .vimrc:
au BufRead,BufNewFile *.sl setf sl

But it doesn't work. Do you know any solution?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment