help-octave
[Top][All Lists]
Advanced

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

Re: Text editing question


From: Stefan van der Walt
Subject: Re: Text editing question
Date: Thu, 23 Feb 2006 16:37:00 +0200
User-agent: Mutt/1.5.9i

On Thu, Feb 23, 2006 at 08:56:24AM -0500, kamaraju kusumanchi wrote:
> Stefan van der Walt wrote:
> >http://www.vim.org/scripts/script.php?script_id=1241
> >http://www.octave.org/octave-lists/archive/octave-sources.1998/msg00011.html
> 
> By default .m files are recognized as matlab files.
> 
> I think (in both the above cases) the necessary indentation files are 
> not sourced properly. Let's try another method.

The scripts above do the job just fine (whereas Vim's built-in MATLAB
mode doesn't recognise keywords like "endwhile", "endif" etc.)  What
we do need to know is what the best way is to have Vim automatically
recognise Octave files and load the appropriate
indentation/highlighting modes.

Stéfan



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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