help-octave
[Top][All Lists]
Advanced

[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 --

http://velveeta.che.wisc.edu/octave/lists/archive//octave-sources.1998/msg00011.html

http://www.vim.org/scripts/script.php?script_id=1241
(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?

thanks
raju

--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


reply via email to

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