public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-syntax r70 - trunk/gentoo-syntax/syntax
@ 2010-04-01 22:10 Dror Levin (spatz)
  0 siblings, 0 replies; only message in thread
From: Dror Levin (spatz) @ 2010-04-01 22:10 UTC (permalink / raw
  To: gentoo-commits

Author: spatz
Date: 2010-04-01 22:10:31 +0000 (Thu, 01 Apr 2010)
New Revision: 70

Modified:
   trunk/gentoo-syntax/syntax/ebuild.vim
Log:
Highlight trailing whitespace as error in ebuilds.

Modified: trunk/gentoo-syntax/syntax/ebuild.vim
===================================================================
--- trunk/gentoo-syntax/syntax/ebuild.vim	2010-02-15 18:06:24 UTC (rev 69)
+++ trunk/gentoo-syntax/syntax/ebuild.vim	2010-04-01 22:10:31 UTC (rev 70)
@@ -225,6 +225,8 @@
 syn match   EbuildError /^[a-zA-Z0-9\-\_]\+(){/
 " bad space
 syn region  EbuildError start=/^ / end=/$/
+" trailing whitespace
+syn match   EbuildError /\s\+$/
 " should be epause
 syn keyword EbuildError esleep
 " should be ${P}




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-01 22:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-01 22:10 [gentoo-commits] gentoo-syntax r70 - trunk/gentoo-syntax/syntax Dror Levin (spatz)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox