At some point, Simon Burton <si****@webone.com.au> wrote:
Looks like the pyrex guy uses emacs...
Anyone have any hints/ideas/scripts for getting some vim syntax colors for
pyrex ?
Add this to your .vimrc:
if !exists("autocommands_loaded")
let autocommands_loaded=1
augroup filetypedetect
au! BufRead,BufNewFile *.pyx setfiletype python
augroup END
endif
That'll use the python syntax for pyrex files.
--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca