sponsor Vim development Vim logo Vim Book Ad

plumbing.vim : Syntax highlighting for Plan 9 plumbing files

 script karma  Rating 0/0, Downloaded by 985  Comments, bugs, improvements  Vim wiki

created by
Gnosis Ouroubouros
 
script type
syntax
 
description
This script will color highlight Plan 9's plumber configuration files (plumbing).

All of the different elements of a plumbing file can be colored separately, per your own preference.  Here is an example:

http://img194.imageshack.us/img194/4161/plumbingvimsyntax.png
 
install details
1 - Put the plumbing.vim file in to your $HOME/.vim/after/syntax directory.
2 - Put this line in to your $HOME/.vimrc:

     set syntax on

3 - Put the following line in your plumbing file:

     # vim: filetype=plumbing

4 - Quit and restart vim
 

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
plumbing.vim 1.2 2009-06-04 7.0 Gnosis Ouroubouros Two bugfixes: 1 - variables werent' being highlighted separately when part of a "start" verb.  2 - the arguments to the "isFile" verb weren't being highlighted at all.
plumbing.vim 1.1 2009-06-04 7.0 Gnosis Ouroubouros Fixed a minor bug that was keep variables from being highlighted separately when they were part of the arguments to the "set" verb.
plumbing.vim 1.0 2009-06-04 7.2 Gnosis Ouroubouros Initial upload
ip used for rating: 3.145.2.184

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.
   
Vim at Github