You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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"
Cite As
Yaroslav (2026). Highlighting Matlab files in Vim (https://uk.mathworks.com/matlabcentral/fileexchange/28240-highlighting-matlab-files-in-vim), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Editing Matlab files in Vim
General Information
- Version 1.5.0.0 (27.3 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.5.0.0 | * Added the MLint file for consistency
|
||
| 1.4.0.0 | - Refined Colours
|
||
| 1.0.0.0 |