1 |
Author: idl0r |
2 |
Date: 2012-01-03 00:40:53 +0000 (Tue, 03 Jan 2012) |
3 |
New Revision: 80 |
4 |
|
5 |
Modified: |
6 |
trunk/gentoo-syntax/syntax/ebuild.vim |
7 |
trunk/gentoo-syntax/syntax/gentoo-common.vim |
8 |
Log: |
9 |
Make bad space checks global |
10 |
|
11 |
|
12 |
Modified: trunk/gentoo-syntax/syntax/ebuild.vim |
13 |
=================================================================== |
14 |
--- trunk/gentoo-syntax/syntax/ebuild.vim 2012-01-03 00:02:22 UTC (rev 79) |
15 |
+++ trunk/gentoo-syntax/syntax/ebuild.vim 2012-01-03 00:40:53 UTC (rev 80) |
16 |
@@ -229,10 +229,6 @@ |
17 |
" evil syntax, ask Mr_Bones_ |
18 |
syn match EbuildError /^[a-zA-Z0-9\-\_]\+ ()/ |
19 |
syn match EbuildError /^[a-zA-Z0-9\-\_]\+(){/ |
20 |
-" bad space |
21 |
-syn region EbuildError start=/^ / end=/$/ |
22 |
-" trailing whitespace |
23 |
-syn match EbuildError /\s\+$/ |
24 |
" should be epause |
25 |
syn keyword EbuildError esleep |
26 |
" should be ${P} |
27 |
|
28 |
Modified: trunk/gentoo-syntax/syntax/gentoo-common.vim |
29 |
=================================================================== |
30 |
--- trunk/gentoo-syntax/syntax/gentoo-common.vim 2012-01-03 00:02:22 UTC (rev 79) |
31 |
+++ trunk/gentoo-syntax/syntax/gentoo-common.vim 2012-01-03 00:40:53 UTC (rev 80) |
32 |
@@ -14,7 +14,12 @@ |
33 |
|
34 |
syn match GentooBug contained /\(\([gG]entoo \|[dD]ebian \|[sS]ource[Ff]orge \)\?[Bb]ug \(#\s*\)\?\|#\)\d\{1,\}/ |
35 |
|
36 |
+" bad space |
37 |
+syn region GentooError start=/^ / end=/$/ |
38 |
+" trailing whitespace |
39 |
+syn match GentooError /\s\+$/ |
40 |
+ |
41 |
hi def link GentooHeader Comment |
42 |
hi def link GentooHeaderCVSVar PreProc |
43 |
hi def link GentooBug Underlined |
44 |
- |
45 |
+hi def link GentooError Error |