Editing Matlab files in Vim
by Fabrice
17 Oct 2008
(Updated 19 May 2010)
Edit Matlab M-files in Vim editor (indentation, syntax highlighting, tags , mlint support)
|
Watch this File
|
| File Information |
| Description |
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 |
| Acknowledgements |
This file inspired
Highlighting Matlab Files In Vim.
|
| MATLAB release |
MATLAB 7.6 (R2008a)
|
| Other requirements |
Vim 7.0 |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 24 Oct 2008 |
- added a help file (matlab.txt)
- wrong indentation for subfunctions without matching 'end' has been fixed |
| 28 Oct 2008 |
Enhanced syntax highligting for Matlab m-files : most Matlab builtin functions are now highlighted |
| 23 Nov 2009 |
- 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) |
| 19 May 2010 |
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. |
|
Contact us