mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
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:
parent
ddd0c12d75
commit
097d57d6d3
@ -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
|
||||
|
@ -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
15
syntax/yum.repo.syntax
Normal 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
|
Loading…
Reference in New Issue
Block a user