Editing Matlab files in Vim

Version 1.4.0.0 (12,6 KB) von Fabrice
Edit Matlab M-files in Vim editor (indentation, syntax highlighting, tags , mlint support)
14,6K Downloads
Aktualisiert 19. Mai 2010

Lizenz anzeigen

Contains a set of files useful to edit Matlab files.

Included is :
1) Syntax highlighting
2) Correct indentation
3) Integration in vim of the mlint Matlab code checker with the :make command
4) Correct setting to use the matchit.vim script (extension of the % command to match if/end, for/end,... blocks)
5) Tag support
6) Help file

Zitieren als

Fabrice (2026). Editing Matlab files in Vim (https://de.mathworks.com/matlabcentral/fileexchange/21798-editing-matlab-files-in-vim), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Environment and Settings finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: Highlighting Matlab files in Vim

Version Veröffentlicht Versionshinweise
1.4.0.0

Updated support for the matchit script (to use % to jump between try/end, if/end, switch/end,... blocks) , to deal with expressions like a(1+end) where 'end' is not the end of a block command but the length of a vector.

1.3.0.0

- Added support for indentation of if/end blocks on the same line
- Changed the function indentation behavior (now based on the 'indent all functions' option in the Matlab Editor)

1.2.0.0

Enhanced syntax highligting for Matlab m-files : most Matlab builtin functions are now highlighted

1.1.0.0

- added a help file (matlab.txt)
- wrong indentation for subfunctions without matching 'end' has been fixed

1.0.0.0