MPD syntax highlighting : Syntax highlighting for MPD language
| script karma
Downloaded by 1310
Comments, bugs, improvements
|MPD language is a similar to SR. It`s used for parallel programming.|
|Install as usual. I recomend to switch to cindent mode and set cinkeys like that:
au BufNewFile,BufRead *.mpd setlocal cinkeys+=global,resource,procedure,body
Rating scripts is only available on the
script versions (upload new version)
Click on the package to download.
ip used for rating: 22.214.171.124
||New indenting, now works properly!
Extracts files to ~/.vim directory (on windows ~/vimfiles).
Then add these lines to .vimrc (on windows _vimrc):
au! BufNewFile,BufRead *.mpd setlocal filetype=mpd
It is important to set the filetype via setlocal, because
in some cases (e.g. when the file starts with several lines
of comment) it can be recognized as a config file already.
||Update. Now includes indent script.
Install as usual using setf command.
Do not set indent. VIM automatically loads indent script.