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?

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

-- 
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org



Reply via email to