[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syntax highlighting under vim

From: John Love
Subject: Re: syntax highlighting under vim
Date: Thu, 19 Apr 2007 13:12:41 -0700
User-agent: KMail/1.7.1

Maybe I am missing something here.  My octave files show up highlighted
in gvim without modification (or is it that gvim is not exactly vim).

In gvim if it doesn't work already,  :set ft=matlab

On Thursday 19 April 2007 11:59, Kamaraju S Kusumanchi wrote:
> Paul Laub wrote:
> > About Octave, vim, and syntax highlighting ...
> >
> > I remember posting a similar question a few years ago. I should have
> > simply tried
> > a web search on "vim octave syntax highlighting". Doing so turns up --
> Actually I did google search before.
> and found this. But this deals with vim 5.0 and does not mention whether it
> works with 7.0 etc., That is why I asked here.
> >
> > (In my experience, this script by Soren Hauberg works well.)
> I am currently making this script work. Even after I do what the above
> website says, the filetype is detected as conf and not as octave. If I open
> the file and then do
> :set ft=octave
> then the syntax highlighting works fine.
> Any ideas?
> thanks
> raju

reply via email to

[Prev in Thread] Current Thread [Next in Thread]