[Top][All Lists]

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

Re: syntax highlighting under vim

From: Paul Laub
Subject: Re: syntax highlighting under vim
Date: Thu, 19 Apr 2007 12:03:11 -0500

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 --
(In my experience, this script by Soren Hauberg works well.)

Paul Laub

Message: 8
Date: Wed, 18 Apr 2007 19:04:50 -0400
From: Kamaraju S Kusumanchi <address@hidden>
Subject: syntax highlighting under vim
To: address@hidden
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

In Debian Etch, vim 7.0.122, octave 2.9.9, by default the .m files are
syntax highlighted as if they are matlab files. For example, lines
beginning with # are not highlighted as comments, words like endfunction
etc., are not highlighted as keywords...

Is there any recommended editor for Octave which gets the syntax
highlighting correctly? More importantly, is there any way I can tell vim
that .m files are octave files and not matlab files?


Kamaraju S Kusumanchi

reply via email to

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