Vim's Setting for Editing Matlab Files

You should install a plugin named {editing Matlab files in Vim}.

Then add such command to your own .vimrc file

source $VIMRUNTIME/macros/matchit.vim

filetype indent on

autocmd BufEnter *.m compiler mlint

你可能感兴趣的:(matlab)