No comments? Octave will remain with no VIM filetype?
Well, i tried... Thanks anyway.
Júlio.
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Good morning,
What should i do for you to add GNU Octave syntax/indent files into VIM
official distribution?
Discussing on their mailing list, Octave can be considered a superset of
MATLAB. We would really like to have more support for it under VIM. I can
try adapt the files by myself: octave.vim
Dear all,
I think the best solution would be the flavor flag as Benjamin mentioned,
since Octave/MATLAB are essentially the same language, there is really no
reason to care about programmers using both. I missed that point in earlier
messages.
Bram,
Should we proceed with this approach?
Best Reg
Dear Bram,
Providing an identification string is a great idea, i'll contact the Octave
community and see their reactions and proposals for the string, do you have
any identifier in mind?
if (filename matches *.m)
if (comment_symbol == '#' || script_last_line == '% octave')
filetype=octave
appreciate your reply,
Júlio.
2012/4/14 Bram Moolenaar
>
> Júlio Hoffimann wrote:
>
> > I'm a user of the GNU Octave programming language (http://www.gnu.org/
> > software/octave/). It's known as a free alternative to MATLAB. In
> > fact, almost all the synta
Dear all,
I'm a user of the GNU Octave programming language (http://www.gnu.org/
software/octave/). It's known as a free alternative to MATLAB. In
fact, almost all the syntax of the later is supported by Octave,
except the classdef syntax.
Actually, VIM hasn't a filetype for Octave and we have to