sponsor Vim development Vim logo Vim Book Ad

MPD syntax highlighting : Syntax highlighting for MPD language

 script karma  Rating 19/7, Downloaded by 1314    Comments, bugs, improvements  Vim wiki

created by
Lukas Zapletal
script type
MPD language is a similar to SR. It`s used for parallel programming.
install details
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


rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
mpd-1.3.zip 1.3 2003-02-19 6.0 Lukas Zapletal New indenting, now works properly!


Extracts files to ~/.vim directory (on windows ~/vimfiles).
Then add these lines to .vimrc (on windows _vimrc):

augroup filetypedetect
au! BufNewFile,BufRead *.mpd setlocal filetype=mpd
augroup END

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.
mpd.zip 1.1 2003-02-12 6.0 Lukas Zapletal Update. Now includes indent script.

Install as usual using setf command.
Do not set indent. VIM automatically loads indent script.
mpd.vim 1.0 2003-02-11 6.0 Lukas Zapletal Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo