Home

Awesome

vim-octave

Octave syntax and indentation support for Vim:

Features

From the syntax file description:

The indentation file provides basic automatic indentation of blocks.

Installations

  1. Install Pathogen, Vundle, NeoBundle, or Plug package manager for Vim.
  2. Use this repository as submodule or package.

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.

Usage

The plugin should work out of the box. You can enable omni completion by setting omnifunc=syntaxcomplete#Complete.