pyrex.vim ?
David M. Cooke
cookedm+news at physics.mcmaster.ca
Wed Aug 20 23:08:48 EDT 2003
At some point, Simon Burton <simonb at 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
More information about the Python-list
mailing list