mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
* syntax/Syntax: Remove gobledy_gook at the beginning. Move
rules for syntax files ... * syntax/syntax.syntax: ... here. Add "linestart" for "file" and "include" keywords. * syntax/Makefile.am: Add syntax.syntax.
This commit is contained in:
parent
286e04eefc
commit
43b82434a3
@ -1,3 +1,11 @@
|
|||||||
|
2002-09-18 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* syntax/Syntax: Remove gobledy_gook at the beginning. Move
|
||||||
|
rules for syntax files ...
|
||||||
|
* syntax/syntax.syntax: ... here. Add "linestart" for "file"
|
||||||
|
and "include" keywords.
|
||||||
|
* syntax/Makefile.am: Add syntax.syntax.
|
||||||
|
|
||||||
2002-09-17 Vlad Romanenko <VladRomanenko@ukr.net>
|
2002-09-17 Vlad Romanenko <VladRomanenko@ukr.net>
|
||||||
|
|
||||||
* syntax/js.syntax: Advanced number highlighting.
|
* syntax/js.syntax: Advanced number highlighting.
|
||||||
|
@ -31,6 +31,7 @@ syntax_DATA = \
|
|||||||
spec.syntax \
|
spec.syntax \
|
||||||
sql.syntax \
|
sql.syntax \
|
||||||
swig.syntax \
|
swig.syntax \
|
||||||
|
syntax.syntax \
|
||||||
tcl.syntax \
|
tcl.syntax \
|
||||||
texinfo.syntax \
|
texinfo.syntax \
|
||||||
unknown.syntax \
|
unknown.syntax \
|
||||||
|
@ -17,16 +17,6 @@
|
|||||||
# brightcyan
|
# brightcyan
|
||||||
# white
|
# white
|
||||||
|
|
||||||
file gobledy_gook #\sHelp\ssupport\sother\sfile\stypes
|
|
||||||
context default
|
|
||||||
file gobledy_gook #\sby\scoding\srules\sin\s~/.cedit/syntax.
|
|
||||||
context default
|
|
||||||
file gobledy_gook #\sSee\sman/syntax\sin\sthe\ssource\sdistribution
|
|
||||||
context default
|
|
||||||
file gobledy_gook #\sand\sconsult\sthe\sman\spage.
|
|
||||||
context default
|
|
||||||
|
|
||||||
|
|
||||||
file ..\*\\.(diff|rej|patch)$ Diff\sOutput ^(diff|Index:)\s
|
file ..\*\\.(diff|rej|patch)$ Diff\sOutput ^(diff|Index:)\s
|
||||||
include diff.syntax
|
include diff.syntax
|
||||||
|
|
||||||
@ -121,78 +111,7 @@ file Don_t_match_me Mail\sfolder ^From\s
|
|||||||
include mail.syntax
|
include mail.syntax
|
||||||
|
|
||||||
file [Ss]yntax$ Syntax\sHighlighting\sdefinitions ^#\ssyntax\srules\sversion\s
|
file [Ss]yntax$ Syntax\sHighlighting\sdefinitions ^#\ssyntax\srules\sversion\s
|
||||||
|
include syntax.syntax
|
||||||
context default
|
|
||||||
keyword whole spellch\eck yellow/24
|
|
||||||
keyword whole keyw\ord yellow/24
|
|
||||||
keyword whole whole\[\t\s\]l\inestart brightcyan/17
|
|
||||||
keyword whole whole\[\t\s\]l\inestart brightcyan/17
|
|
||||||
keyword whole wh\oleleft\[\t\s\]l\inestart brightcyan/17
|
|
||||||
keyword whole wh\oleright\[\t\s\]l\inestart brightcyan/17
|
|
||||||
keyword whole l\inestart\[\t\s\]wh\ole
|
|
||||||
keyword whole l\inestart\[\t\s\]wh\ole
|
|
||||||
keyword whole l\inestart\[\t\s\]wh\oleleft
|
|
||||||
keyword whole l\inestart\[\t\s\]wh\oleright
|
|
||||||
keyword wholeleft whole\s brightcyan/17
|
|
||||||
keyword wholeleft whole\t brightcyan/17
|
|
||||||
keyword whole wh\oleleft brightcyan/17
|
|
||||||
keyword whole wh\oleright brightcyan/17
|
|
||||||
keyword whole lin\[e\]start brightcyan/17
|
|
||||||
keyword whole c\ontext\[\t\s\]exclusive brightred/18
|
|
||||||
keyword whole c\ontext\[\t\s\]default brightred/18
|
|
||||||
keyword whole c\ontext brightred/18
|
|
||||||
keyword whole wh\olechars\[\t\s\]left brightcyan/17
|
|
||||||
keyword whole wh\olechars\[\t\s\]right brightcyan/17
|
|
||||||
keyword whole wh\olechars brightcyan/17
|
|
||||||
keyword whole f\ile brightgreen/6
|
|
||||||
keyword whole in\clude brightred/18
|
|
||||||
|
|
||||||
keyword whole 0 lightgray/0 blue/26
|
|
||||||
keyword whole 1 lightgray/1 blue/26
|
|
||||||
keyword whole 2 lightgray/2 blue/26
|
|
||||||
keyword whole 3 lightgray/3 blue/26
|
|
||||||
keyword whole 4 lightgray/4 blue/26
|
|
||||||
keyword whole 5 lightgray/5 blue/26
|
|
||||||
keyword whole 6 lightgray/6
|
|
||||||
keyword whole 7 lightgray/7
|
|
||||||
keyword whole 8 lightgray/8
|
|
||||||
keyword whole 9 lightgray/9
|
|
||||||
keyword whole 10 lightgray/10
|
|
||||||
keyword whole 11 lightgray/11
|
|
||||||
keyword whole 12 lightgray/12
|
|
||||||
keyword whole 13 lightgray/13
|
|
||||||
keyword whole 14 lightgray/14
|
|
||||||
keyword whole 15 lightgray/15
|
|
||||||
keyword whole 16 lightgray/16
|
|
||||||
keyword whole 17 lightgray/17
|
|
||||||
keyword whole 18 lightgray/18
|
|
||||||
keyword whole 19 lightgray/19
|
|
||||||
keyword whole 20 lightgray/20
|
|
||||||
keyword whole 21 lightgray/21
|
|
||||||
keyword whole 22 lightgray/22
|
|
||||||
keyword whole 23 lightgray/23
|
|
||||||
keyword whole 24 lightgray/24
|
|
||||||
keyword whole 25 lightgray/25
|
|
||||||
keyword whole 26 lightgray/26
|
|
||||||
|
|
||||||
keyword wholeleft black\/ black/0
|
|
||||||
keyword wholeleft red\/ red/DarkRed
|
|
||||||
keyword wholeleft green\/ green/green3
|
|
||||||
keyword wholeleft brown\/ brown/saddlebrown
|
|
||||||
keyword wholeleft blue\/ blue/blue3
|
|
||||||
keyword wholeleft magenta\/ magenta/magenta3
|
|
||||||
keyword wholeleft cyan\/ cyan/cyan3
|
|
||||||
keyword wholeleft lightgray\/ lightgray/lightgray
|
|
||||||
keyword wholeleft gray\/ gray/gray
|
|
||||||
keyword wholeleft brightred\/ brightred/red
|
|
||||||
keyword wholeleft brightgreen\/ brightgreen/green1
|
|
||||||
keyword wholeleft yellow\/ yellow/yellow
|
|
||||||
keyword wholeleft brightblue\/ brightblue/blue1
|
|
||||||
keyword wholeleft brightmagenta\/ brightmagenta/magenta
|
|
||||||
keyword wholeleft brightcyan\/ brightcyan/cyan1
|
|
||||||
keyword wholeleft white\/ white/26
|
|
||||||
|
|
||||||
context linestart # \n brown/22
|
|
||||||
|
|
||||||
file .\* unknown
|
file .\* unknown
|
||||||
include unknown.syntax
|
include unknown.syntax
|
||||||
|
72
syntax/syntax.syntax
Normal file
72
syntax/syntax.syntax
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
context default
|
||||||
|
keyword whole spellch\eck yellow/24
|
||||||
|
keyword whole keyw\ord yellow/24
|
||||||
|
keyword whole whole\[\t\s\]l\inestart brightcyan/17
|
||||||
|
keyword whole whole\[\t\s\]l\inestart brightcyan/17
|
||||||
|
keyword whole wh\oleleft\[\t\s\]l\inestart brightcyan/17
|
||||||
|
keyword whole wh\oleright\[\t\s\]l\inestart brightcyan/17
|
||||||
|
keyword whole l\inestart\[\t\s\]wh\ole
|
||||||
|
keyword whole l\inestart\[\t\s\]wh\ole
|
||||||
|
keyword whole l\inestart\[\t\s\]wh\oleleft
|
||||||
|
keyword whole l\inestart\[\t\s\]wh\oleright
|
||||||
|
keyword wholeleft whole\s brightcyan/17
|
||||||
|
keyword wholeleft whole\t brightcyan/17
|
||||||
|
keyword whole wh\oleleft brightcyan/17
|
||||||
|
keyword whole wh\oleright brightcyan/17
|
||||||
|
keyword whole lin\[e\]start brightcyan/17
|
||||||
|
keyword whole c\ontext\[\t\s\]exclusive brightred/18
|
||||||
|
keyword whole c\ontext\[\t\s\]default brightred/18
|
||||||
|
keyword whole c\ontext brightred/18
|
||||||
|
keyword whole wh\olechars\[\t\s\]left brightcyan/17
|
||||||
|
keyword whole wh\olechars\[\t\s\]right brightcyan/17
|
||||||
|
keyword whole wh\olechars brightcyan/17
|
||||||
|
keyword whole linestart f\ile brightgreen/6
|
||||||
|
keyword whole linestart in\clude brightred/18
|
||||||
|
|
||||||
|
keyword whole 0 lightgray/0 blue/26
|
||||||
|
keyword whole 1 lightgray/1 blue/26
|
||||||
|
keyword whole 2 lightgray/2 blue/26
|
||||||
|
keyword whole 3 lightgray/3 blue/26
|
||||||
|
keyword whole 4 lightgray/4 blue/26
|
||||||
|
keyword whole 5 lightgray/5 blue/26
|
||||||
|
keyword whole 6 lightgray/6
|
||||||
|
keyword whole 7 lightgray/7
|
||||||
|
keyword whole 8 lightgray/8
|
||||||
|
keyword whole 9 lightgray/9
|
||||||
|
keyword whole 10 lightgray/10
|
||||||
|
keyword whole 11 lightgray/11
|
||||||
|
keyword whole 12 lightgray/12
|
||||||
|
keyword whole 13 lightgray/13
|
||||||
|
keyword whole 14 lightgray/14
|
||||||
|
keyword whole 15 lightgray/15
|
||||||
|
keyword whole 16 lightgray/16
|
||||||
|
keyword whole 17 lightgray/17
|
||||||
|
keyword whole 18 lightgray/18
|
||||||
|
keyword whole 19 lightgray/19
|
||||||
|
keyword whole 20 lightgray/20
|
||||||
|
keyword whole 21 lightgray/21
|
||||||
|
keyword whole 22 lightgray/22
|
||||||
|
keyword whole 23 lightgray/23
|
||||||
|
keyword whole 24 lightgray/24
|
||||||
|
keyword whole 25 lightgray/25
|
||||||
|
keyword whole 26 lightgray/26
|
||||||
|
|
||||||
|
keyword wholeleft black\/ black/0
|
||||||
|
keyword wholeleft red\/ red/DarkRed
|
||||||
|
keyword wholeleft green\/ green/green3
|
||||||
|
keyword wholeleft brown\/ brown/saddlebrown
|
||||||
|
keyword wholeleft blue\/ blue/blue3
|
||||||
|
keyword wholeleft magenta\/ magenta/magenta3
|
||||||
|
keyword wholeleft cyan\/ cyan/cyan3
|
||||||
|
keyword wholeleft lightgray\/ lightgray/lightgray
|
||||||
|
keyword wholeleft gray\/ gray/gray
|
||||||
|
keyword wholeleft brightred\/ brightred/red
|
||||||
|
keyword wholeleft brightgreen\/ brightgreen/green1
|
||||||
|
keyword wholeleft yellow\/ yellow/yellow
|
||||||
|
keyword wholeleft brightblue\/ brightblue/blue1
|
||||||
|
keyword wholeleft brightmagenta\/ brightmagenta/magenta
|
||||||
|
keyword wholeleft brightcyan\/ brightcyan/cyan1
|
||||||
|
keyword wholeleft white\/ white/26
|
||||||
|
|
||||||
|
context linestart # \n brown/22
|
||||||
|
|
Loading…
Reference in New Issue
Block a user