mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
56 lines
1.9 KiB
YAML
56 lines
1.9 KiB
YAML
# Syntax highlighting rules for syntax highlighting rules
|
|
|
|
# Use \[\] at the end of keywords to suppress their special meaning
|
|
|
|
wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.\\[]{}
|
|
|
|
context default
|
|
# Invalid combinations, not highlighted
|
|
keyword whole linestart\[\t\s\]whole
|
|
keyword whole linestart\[\t\s\]whole
|
|
keyword whole linestart\[\t\s\]wholeleft
|
|
keyword whole linestart\[\t\s\]wholeright
|
|
|
|
# Combinations below are valid
|
|
keyword whole whole\[\t\s\]linestart brightcyan
|
|
keyword whole whole\[\t\s\]linestart brightcyan
|
|
keyword whole wholeleft\[\t\s\]linestart brightcyan
|
|
keyword whole wholeright\[\t\s\]linestart brightcyan
|
|
keyword whole whole\[\] brightcyan
|
|
keyword whole wholeleft\[\] brightcyan
|
|
keyword whole wholeright\[\] brightcyan
|
|
keyword whole linestart\[\] brightcyan
|
|
|
|
keyword whole wholechars\[\t\s\]left brightcyan
|
|
keyword whole wholechars\[\t\s\]right brightcyan
|
|
keyword whole wholechars\[\] brightcyan
|
|
|
|
keyword whole spellcheck\[\] yellow
|
|
keyword whole keyword\[\] yellow
|
|
keyword whole context\[\t\s\]exclusive brightred
|
|
keyword whole context\[\t\s\]default brightred
|
|
keyword whole context\[\] brightred
|
|
|
|
keyword whole linestart file\[\] brightgreen
|
|
keyword whole linestart include\[\] brightred
|
|
|
|
keyword whole black black blue
|
|
keyword whole red red
|
|
keyword whole green green
|
|
keyword whole brown brown
|
|
keyword whole blue blue black
|
|
keyword whole magenta magenta
|
|
keyword whole cyan cyan
|
|
keyword whole lightgray lightgray
|
|
keyword whole gray gray black
|
|
keyword whole brightred brightred
|
|
keyword whole brightgreen brightgreen
|
|
keyword whole yellow yellow
|
|
keyword whole brightblue brightblue
|
|
keyword whole brightmagenta brightmagenta
|
|
keyword whole brightcyan brightcyan
|
|
keyword whole white white
|
|
|
|
context linestart # \n brown
|
|
|