blob: 37879b33af70005b35d02afb2131bf9a2ec72fd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
" Vim syntax file
" Language: Gentoo Common Rules
" Author: Ciaran McCreesh <ciaranm@gentoo.org>
" Copyright: Copyright (c) 2004-2005 Ciaran McCreesh
" Licence: You may redistribute this under the same terms as Vim itself
if &compatible || v:version < 603
finish
endif
syn match GentooBug contained /\(\([gG]entoo \|[dD]ebian \|[sS]ource[Ff]orge \)\?[Bb]ug \(#\s*\)\?\|#\)\d\{1,\}/
" bad space
syn region GentooError start=/^ / end=/$/
" trailing whitespace
syn match GentooError /\s\+$/
" mixed tab and space indentation
syn match GentooError /\s*\(\t \| \t\)\s*/
hi def link GentooBug Underlined
hi def link GentooError Error
|