MPD syntax highlighting : Syntax highlighting for MPD language
| script karma
Downloaded by 1314
Comments, bugs, improvements
script versions (upload new version)
|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
Click on the package to download.
ip used for rating: 220.127.116.11
||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.