Some enhancements of branch:

* rename repo.syntax into yum.repo.syntax
 * add more syntax highlight rules.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2009-09-18 17:46:39 +03:00
parent ddd0c12d75
commit 097d57d6d3
3 changed files with 16 additions and 10 deletions

View File

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

View File

@ -1,9 +0,0 @@
# Yum repo syntax highlighting
#
# Author: Andy Shevchenko <andy.shevchenko@gmail.com>
context default
context # \n brown
spellcheck

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