Gentoo Archives: gentoo-commits

From: "Dror Levin (spatz)" <spatz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-syntax r70 - trunk/gentoo-syntax/syntax
Date: Thu, 01 Apr 2010 22:10:34
Message-Id: E1NxSat-0005sL-Ew@stork.gentoo.org
1 Author: spatz
2 Date: 2010-04-01 22:10:31 +0000 (Thu, 01 Apr 2010)
3 New Revision: 70
4
5 Modified:
6 trunk/gentoo-syntax/syntax/ebuild.vim
7 Log:
8 Highlight trailing whitespace as error in ebuilds.
9
10 Modified: trunk/gentoo-syntax/syntax/ebuild.vim
11 ===================================================================
12 --- trunk/gentoo-syntax/syntax/ebuild.vim 2010-02-15 18:06:24 UTC (rev 69)
13 +++ trunk/gentoo-syntax/syntax/ebuild.vim 2010-04-01 22:10:31 UTC (rev 70)
14 @@ -225,6 +225,8 @@
15 syn match EbuildError /^[a-zA-Z0-9\-\_]\+(){/
16 " bad space
17 syn region EbuildError start=/^ / end=/$/
18 +" trailing whitespace
19 +syn match EbuildError /\s\+$/
20 " should be epause
21 syn keyword EbuildError esleep
22 " should be ${P}