vim: filetype .page as .html

John Kim johnkim.ubuntu at gmail.com
Sat May 18 16:19:28 UTC 2013


Hello,

I use vim for text editing.  Been using it for homework lately, but I'm 
not good at scripting. 

The .page files in ~/ubuntu-doc/ubuntu-help/C are all in html, but 
since the filetype is .page, Vim doesn't recognize it and cannot 
provide a color syntax.  However, with a bit of scripting, I can make 
Vim recognize .page as an html file and get some color.  Better on the 
eyes too.

I intend to start reviewing once I can read.  If anyone here uses vim 
and can help me out, what should I add on my .vimrc to allow this?

Thanks,

John Kim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20130518/bda34028/attachment.html>


More information about the ubuntu-doc mailing list