Octave syntax and indentation support for Vim:
From the syntax file description:
endwhile
, endfor
, etc.), not just Matlab keywords@(...)
] from within the .m
file being editedvar = true
, highlights true
as a constant.var = true (2,4)
, highlights true
as a function.\"
or \'
) within string.+
, -
, *
, etc.), user variables, or tabs, which can be achieved by uncommenting appropriate tagged lines in the syntax file.The indentation file provides basic automatic indentation of blocks.
For example, when using Plug:
Plug 'https://github.com/gnu-octave/vim-octave.git', {'for': 'octave'}
You can also use Vim 8 built-in package manager:
mkdir -p ~/.vim/pack/default/start git clone https://github.com/gnu-octave/vim-octave.git ~/.vim/pack/default/start/vim-octave
Note that this plugin contributes to vim-polyglot language pack.
The plugin should work out of the box. You can enable omni completion by setting omnifunc=syntaxcomplete#Complete
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4