" matlab.vim - A script to highlight MatLab code in Vim based on the output from " Matlab's in built mlint function. " " Place in your after/ftplugin directory. " " Last Change: 2008 Oct 13 " Maintainer: Thomas Ibbotson " License: Copyright 2008 Thomas Ibbotson " This program is free software: you can redistribute it and/or modify " it under the terms of the GNU General Public License as published by " the Free Software Foundation, either version 3 of the License, or " (at your option) any later version. " " This program is distributed in the hope that it will be useful, " but WITHOUT ANY WARRANTY; without even the implied warranty of " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the " GNU General Public License for more details. " " You should have received a copy of the GNU General Public License " along with this program. If not, see . " " Version: 0.2 if exists("b:did_mlint_plugin") finish endif let b:did_mlint_plugin = 2 " This plugin uses line continuation...save cpo to restore it later let s:cpo_sav = &cpo set cpo-=C if !hasmapto('mlintRunLint') map l mlintRunLint endif if !hasmapto('mlintGetLintMessage') map m mlintGetLintMessage endif if !hasmapto('RunLint') noremap