Search the web
Sign In
New User? Sign Up
python-list · Python List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: pyrex.vim ?   Message List  
Reply | Forward Message #106117 of 122067 |
Re: pyrex.vim ?

At some point, Simon Burton <simonb@...> 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
--
http://mail.python.org/mailman/listinfo/python-list



Thu Aug 21, 2003 3:08 am

cookedm+news@...
Send Email Send Email

Forward
Message #106117 of 122067 |
Expand Messages Author Sort by Date

... python.vim seems to work well enough, my filetype.vim has this now: " Python au BufNewFile,BufRead *.py setf python " PyRex au BufNewFile,BufRead *.pyx...
Simon Burton
simonb@...
Send Email
Aug 21, 2003
3:15 am

... Add this to your .vimrc: if !exists("autocommands_loaded") let autocommands_loaded=1 augroup filetypedetect au! BufRead,BufNewFile *.pyx setfiletype python...
David M. Cooke
cookedm+news@...
Send Email
Aug 21, 2003
3:26 am
< Prev Topic  |  Next Topic >
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help