Editing Matlab files in Vim

版本 1.4.0.0 (12.6 KB) 作者: Fabrice
Edit Matlab M-files in Vim editor (indentation, syntax highlighting, tags , mlint support)
14.2K 次下载
更新时间 2010/5/19

查看许可证

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

引用格式

Fabrice (2024). Editing Matlab files in Vim (https://www.mathworks.com/matlabcentral/fileexchange/21798-editing-matlab-files-in-vim), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Environment and Settings 的更多信息
致谢

启发作品: Highlighting Matlab files in Vim

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
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