mom.vim : Syntax highlighting for the troff macro package
script karma |
Rating 19/7,
Downloaded by 880 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Christian Brüssow |
|
script type |
syntax |
|
description |
Syntax highlighting for mom, a troff macro package, or as mom's homepage (http://faustus.dyn.ca/mom/mom.html) states: "mom is a typesetting and formatting package used to create high-quality, PostScript documents for printing."
This script is specialized for mom, although that is a troff macro package, this script does only have limited troff highlighting capabilities.
|
|
install details |
Vim knows mom files (extension .mom), but highlights them as simple troff files. So you have to overwrite this behavior in your ~/vim/filetype.vim file, as described in the vim online help for "filetype". Add the following line to that file, as described in the vim help:
au! BufRead,BufNewFile *.mom setfiletype mom
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.226.181.89
|