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?
What I use is: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
autocmd BufRead,BufNewFile,BufWritePost *.sage set filetype=python
autocmd BufRead,BufNewFile,BufWritePost *.spyx,*.pyx set filetype=python.c
--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To post to this group, send email to sage-s...@googlegroups.com.
To unsubscribe from this group, send email to sage-support...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.
That's true. But is anyone saying vim supports Sage syntax?