Merge branch '1573_yum.repo'

* 1573_yum.repo:
  Some enhancements of branch:
  Add yum repo syntax highlight file
This commit is contained in:
Slava Zanko 2009-09-22 11:57:28 +03:00
commit 4c68d3ae47
2 changed files with 18 additions and 0 deletions

View File

@ -130,6 +130,9 @@ include sql.syntax
file ..\*\\.(spec|spec\.in)$ RPM\sSpecfile
include spec.syntax
file ..\*\\.repo$ YUM\sRepo File
include yum.repo.syntax
file ..\*\\.(awk)$ AWK\sFile
include awk.syntax

15
syntax/yum.repo.syntax Normal file
View File

@ -0,0 +1,15 @@
# Yum repo syntax highlighting
#
# Author: Andy Shevchenko <andy.shevchenko@gmail.com>
context default
keyword whole enabled=0 brightred
keyword whole gpgcheck=0 brightred
keyword whole enabled=1 brightgreen
keyword whole gpgcheck=1 brightgreen
context # \n brown
spellcheck
context [ ] brightcyan
context exclusive = \n green