mirror of https://github.com/MidnightCommander/mc
merged 2 syntax files Oleg's aka Olegarh and Andres Farfan
This commit is contained in:
parent
fd55b916de
commit
5ce21bc756
|
@ -1,8 +1,10 @@
|
|||
# AWK syntax by Olegarch <olegarch@mail.ru>
|
||||
# Possible *.AWK
|
||||
# GPL v2
|
||||
# AWK syntax by
|
||||
# Olegarch <olegarch@mail.ru>
|
||||
# Andres Farfan, <nafraf@linuxmail.org>
|
||||
# Ilia Maslakov <il.smind gmail com>
|
||||
#
|
||||
# (c) 2003
|
||||
# (c) 2003, 2004, 2009
|
||||
# GPL v2
|
||||
#
|
||||
|
||||
context default
|
||||
|
@ -10,68 +12,99 @@ context default
|
|||
keyword whole linestart #!\[\s\]/bin/\[msg\]awk yellow magenta
|
||||
keyword whole linestart #!\[\s\]/usr/bin/\[msg\]awk yellow magenta
|
||||
# Keywords
|
||||
keyword whole return white/26
|
||||
keyword whole print white/26
|
||||
keyword whole printf white/26
|
||||
keyword whole if white/26
|
||||
keyword whole else white/26
|
||||
keyword whole while white/26
|
||||
keyword whole for white/26
|
||||
keyword whole in white/26
|
||||
keyword whole do white/26
|
||||
keyword whole break white/26
|
||||
keyword whole continue white/26
|
||||
keyword whole next white/26
|
||||
keyword whole exit white/26
|
||||
keyword whole close white/26
|
||||
keyword whole system white/26
|
||||
keyword whole getline white/26
|
||||
keyword whole AMNOISE white
|
||||
keyword whole BEGIN white
|
||||
keyword whole END white
|
||||
keyword whole func white
|
||||
keyword whole function white
|
||||
keyword whole nextfile white
|
||||
|
||||
keyword whole return white/26
|
||||
keyword whole print white/26
|
||||
keyword whole printf white/26
|
||||
keyword whole if white/26
|
||||
keyword whole else white/26
|
||||
keyword whole while white/26
|
||||
keyword whole for white/26
|
||||
keyword whole in white/26
|
||||
keyword whole do white/26
|
||||
keyword whole break white/26
|
||||
keyword whole continue white/26
|
||||
keyword whole next white/26
|
||||
keyword whole exit white/26
|
||||
keyword whole close white/26
|
||||
keyword whole system white/26
|
||||
keyword whole getline white/26
|
||||
# Builtin functions:
|
||||
keyword whole atan2 white black
|
||||
keyword whole cos white black
|
||||
keyword whole exp white black
|
||||
keyword whole int white black
|
||||
keyword whole log white black
|
||||
keyword whole rand white black
|
||||
keyword whole sin white black
|
||||
keyword whole sqrt white black
|
||||
keyword whole srand white black
|
||||
keyword whole gsub white black
|
||||
keyword whole index white black
|
||||
keyword whole length white black
|
||||
keyword whole match white black
|
||||
keyword whole split white black
|
||||
keyword whole sprintf white black
|
||||
keyword whole sub white black
|
||||
keyword whole substr white black
|
||||
keyword whole atan2 white black
|
||||
keyword whole cos white black
|
||||
keyword whole exp white black
|
||||
keyword whole int white black
|
||||
keyword whole log white black
|
||||
keyword whole rand white black
|
||||
keyword whole sin white black
|
||||
keyword whole sqrt white black
|
||||
keyword whole srand white black
|
||||
keyword whole gsub white black
|
||||
keyword whole index white black
|
||||
keyword whole length white black
|
||||
keyword whole match white black
|
||||
keyword whole split white black
|
||||
keyword whole sprintf white black
|
||||
keyword whole sub white black
|
||||
keyword whole substr white black
|
||||
keyword whole asort white black
|
||||
keyword whole asorti white black
|
||||
|
||||
keyword whole xor white
|
||||
keyword whole and white
|
||||
keyword whole or white
|
||||
|
||||
# Gawk builtin functions:
|
||||
keyword whole fflush white black
|
||||
keyword whole gensub white black
|
||||
keyword whole tolower white black
|
||||
keyword whole toupper white black
|
||||
keyword whole systime white black
|
||||
keyword whole strftime white black
|
||||
keyword whole fflush white black
|
||||
keyword whole gensub white black
|
||||
keyword whole tolower white black
|
||||
keyword whole toupper white black
|
||||
keyword whole systime white black
|
||||
keyword whole strftime white black
|
||||
keyword whole strtonum white
|
||||
keyword whole bindtextdomain white
|
||||
keyword whole dcgettext white
|
||||
keyword whole dcngettext white
|
||||
keyword whole compl white
|
||||
keyword whole delete white
|
||||
keyword whole extension white
|
||||
keyword whole mktime white
|
||||
keyword whole lshift white
|
||||
keyword whole rshift white
|
||||
|
||||
# Builtin variables:
|
||||
keyword whole ARGC brightblue
|
||||
keyword whole ARGV brightblue
|
||||
keyword whole FILENAME brightblue
|
||||
keyword whole FNR brightblue
|
||||
keyword whole FS brightblue
|
||||
keyword whole NF brightblue
|
||||
keyword whole NR brightblue
|
||||
keyword whole OFMT brightblue
|
||||
keyword whole OFS brightblue
|
||||
keyword whole ORS brightblue
|
||||
keyword whole RLENGTH brightblue
|
||||
keyword whole RS brightblue
|
||||
keyword whole RSTART brightblue
|
||||
keyword whole SUBSEP brightblue
|
||||
keyword whole ARGIND brightblue
|
||||
keyword whole BINMODE brightblue
|
||||
keyword whole CONVFMT brightblue
|
||||
keyword whole ENVIRON brightblue
|
||||
keyword whole LINT brightblue
|
||||
keyword whole TEXTDOMAIN brightblue
|
||||
keyword whole ARGC brightblue
|
||||
keyword whole ARGV brightblue
|
||||
keyword whole FILENAME brightblue
|
||||
keyword whole FNR brightblue
|
||||
keyword whole FS brightblue
|
||||
keyword whole NF brightblue
|
||||
keyword whole NR brightblue
|
||||
keyword whole OFMT brightblue
|
||||
keyword whole OFS brightblue
|
||||
keyword whole ORS brightblue
|
||||
keyword whole RLENGTH brightblue
|
||||
keyword whole RS brightblue
|
||||
keyword whole RSTART brightblue
|
||||
keyword whole SUBSEP brightblue
|
||||
# Gawk builtin variables:
|
||||
keyword whole ARGIND brightblue
|
||||
keyword whole ERRNO brightblue
|
||||
keyword whole RT brightblue
|
||||
keyword whole IGNORECASE brightblue
|
||||
keyword whole FIELDWIDTHS brightblue
|
||||
keyword whole ARGIND brightblue
|
||||
keyword whole ERRNO brightblue
|
||||
keyword whole RT brightblue
|
||||
keyword whole IGNORECASE brightblue
|
||||
keyword whole FIELDWIDTHS brightblue
|
||||
|
||||
keyword '\s' brightgreen/16
|
||||
keyword '+' brightgreen/16
|
||||
|
@ -104,8 +137,8 @@ context default
|
|||
# keyword linestart \t lightgray/13 blue/6
|
||||
|
||||
# Sed:
|
||||
keyword linestart /^ red
|
||||
keyword linestart /^# red
|
||||
keyword linestart /^ red
|
||||
keyword linestart /^# red
|
||||
context /^#*/ red
|
||||
|
||||
# Comments:
|
||||
|
|
Loading…
Reference in New Issue