On Wednesday, 22 August 2012 04:52:24 UTC+8, Peng Yu wrote: > > Hi, > > I followed the following tip to set up vim for sage. But I don't see > syntax highlight nor correctly auto indentation. Has anybody > successfully configured vim for sage? >
Do Python syntax high-lightings work in your vim? > > http://wiki.sagemath.org/Tips > > Vim filetypes To get Vim to use Python syntax highlighting, > indentation, and so on for .sage files, put the following in > $VIM/filetype.vim: > > augroup filetypedetect > au! BufRead,BufNewFile *.sage,*.spyx,*.pyx setfiletype python > augroup END > > -- > Regards, > Peng > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en.
