Mercurial > vim-lawrencium
comparison syntax/hgstatus.vim @ 7:adc267e2f0f4
Added syntax highlighting for hgstatus window.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 09 Dec 2011 23:08:53 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6:1da613c13d81 | 7:adc267e2f0f4 |
---|---|
1 " Vim syntax file | |
2 " Language: hg status output | |
3 " Maintainer: Ludovic Chabant <ludovic@chabant.com> | |
4 " Filenames: ^hg-status-*.txt | |
5 | |
6 if exists("b:current_syntax") | |
7 finish | |
8 endif | |
9 | |
10 syn case match | |
11 | |
12 syn match hgstatusModified "^M\s.*" | |
13 syn match hgstatusAdded "^A\s.*" | |
14 syn match hgstatusRemoved "^R\s.*" | |
15 syn match hgstatusClean "^C\s.*" | |
16 syn match hgstatusMissing "^?\s.*" | |
17 syn match hgstatusNotTracked "^!\s.*" | |
18 syn match hgstatusIgnored "^I\s.*" | |
19 | |
20 hi def link hgstatusModified Identifier | |
21 hi def link hgstatusAdded Statement | |
22 hi def link hgstatusRemoved PreProc | |
23 hi def link hgstatusClean Constant | |
24 hi def link hgstatusMissing Error | |
25 hi def link hgstatusNotTracked Todo | |
26 hi def link hgstatusIgnored Ignore | |
27 hi def link hgstatusFileName Constant | |
28 |