oslvim A vim syntax plugin for OpenShadingLanguage copy osl.vim to ~/.vim/syntax append the following to ~/.vimrc autocmd BufRead,BufNew,BufNewFile,BufCreate *.osl set filetype=osl