mirror of https://github.com/MidnightCommander/mc
Merge branch '1573_yum.repo'
* 1573_yum.repo: Some enhancements of branch: Add yum repo syntax highlight file
This commit is contained in:
commit
4c68d3ae47
|
@ -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
|
||||
|
||||
|
|
|
@ -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