Highlighting Matlab files in Vim

版本 1.5.0.0 (27.3 KB) 作者: Yaroslav
Highlighting Matlab m-files in Vim editor --- light- and dark colour-schemes.
3.1K 次下载
更新时间 2011/2/18

查看许可证

Two colour scheme that resemble MATLAB's default with several additions (including light and dark background versions)

These colour schemes are based on Ian Langworth's "tolerable.vim", and modified to resemble MATLAB's default colours on a light and dark backgrounds. The colours are easily distinguishable and best suited for MATLAB's purposes (see "group-name" for help, or Syntax/Highlight-test menu ":runtime syntax/hitest.vim").

Included also an enhanced syntax files (based on Fabrice Guy's matlab-vim submission) to have the best experience with Matlab and Vim. Most of these files are slightly changed, so I have added all of them to the package. It is recommended to watch the original files as well.

The files are best suited for the newest Matlab releases (2008a and later), but may be used with any Matlab 7.x release.

Install:
Put this file in the users colors directory (default unix "~/.vim" or "$vim\vimfiles" on Windows systems), unzip and load with ":colorscheme matlablight" or ":colorscheme matlabdark"

引用格式

Yaroslav (2024). Highlighting Matlab files in Vim (https://www.mathworks.com/matlabcentral/fileexchange/28240-highlighting-matlab-files-in-vim), MATLAB Central File Exchange. 检索来源 .

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

参考作品: Editing Matlab files in Vim

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.5.0.0

* Added the MLint file for consistency
* A new screen-shot
* Additional minor changes

1.4.0.0

- Refined Colours
- Added cterm colours
- Syntax file to visualize colours
- Added folding & spelling
- New mappings (see help file)
- Consistent colouring of blocks (try/end)
- Full list of MATLAB keywords
- Renewed colouring syntax

1.0.0.0