monotone

monotone Mtn Source Tree

Root/contrib/mtncommit.vim

1" Syntax highlighting for monotone commit log messages
2"
3" Set up keywords and patterns we want to highlight
4syn match mtnCommitAdded /\ \ added/
5syn match mtnCommitCancelLine /\*\*\* REMOVE THIS LINE TO CANCEL THE COMMIT \*\*\*/
6" Highlight cert names such as Author: and Branch:
7syn match mtnCommitCertName /^.*: /
8syn match mtnCommitComment /--.*$/
9syn match mtnCommitPatched /\ \ patched/
10syn match mtnCommitRemoved /\ \ removed/
11
12" Set up sane default highlighting links, such as mtnCommitComment->Comment
13hi def link mtnCommitAddeddiffAdded
14hi def link mtnCommitCancelLineError
15hi def link mtnCommitCertNameIdentifier
16hi def link mtnCommitCommentComment
17hi def link mtnCommitPatcheddiffChanged
18hi def link mtnCommitRemoveddiffRemoved
19
20

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status