mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
* syntax/fortran.syntax: Fix highlighting of "*" at the
beginning of line. Recognize " +" as continuation. Move all "linestart" keywords earlier to avoid more conflicts.
This commit is contained in:
parent
2e17e22122
commit
aeab4a933e
@ -1,3 +1,9 @@
|
||||
2002-07-21 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* syntax/fortran.syntax: Fix highlighting of "*" at the
|
||||
beginning of line. Recognize " +" as continuation. Move
|
||||
all "linestart" keywords earlier to avoid more conflicts.
|
||||
|
||||
2002-07-18 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* syntax/unknown.syntax: Don't highlight anything by default.
|
||||
|
@ -12,6 +12,33 @@
|
||||
# Heavily modified by Paul Sheer <psheer@obsidian.co.za>.
|
||||
|
||||
context default
|
||||
# keywords at the beginning of line
|
||||
keyword linestart ! black/0 yellow/24
|
||||
keyword linestart \* black/0 yellow/24
|
||||
keyword linestart c black/0 yellow/24
|
||||
keyword linestart C black/0 yellow/24
|
||||
|
||||
keyword linestart \s\s\s\s\s\* yellow/24 red/9
|
||||
keyword linestart \s\s\s\s\s\+ yellow/24 red/9
|
||||
|
||||
keyword linestart \s\s\s\s\s\s black/0 brightcyan/blue3
|
||||
|
||||
keyword linestart 0\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 1\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 2\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 3\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 4\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 5\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 6\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 7\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 8\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 9\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
|
||||
keyword linestart \s\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart \s\s\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart \s\s\s\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart \s\s\s\s\{0123456789\s\}\s white/26 brightcyan/2
|
||||
|
||||
# boolean and logical expressions / operators
|
||||
keyword .and. brightred/orange
|
||||
keyword .eq. brightred/orange
|
||||
@ -193,6 +220,7 @@ context default
|
||||
keyword whole tan yellow/24
|
||||
keyword whole tanh yellow/24
|
||||
|
||||
# operators and syntax elements
|
||||
keyword ( brightcyan/15
|
||||
keyword ) brightcyan/15
|
||||
keyword , brightcyan/14
|
||||
@ -202,31 +230,6 @@ context default
|
||||
keyword / yellow/24
|
||||
keyword = yellow/24
|
||||
|
||||
keyword linestart ! black/0 yellow/24
|
||||
keyword linestart \* black/0 yellow/24
|
||||
keyword linestart c black/0 yellow/24
|
||||
keyword linestart C black/0 yellow/24
|
||||
|
||||
keyword linestart \s\s\s\s\s\* yellow/24 red/9
|
||||
|
||||
keyword linestart \s\s\s\s\s\s black/0 brightcyan/blue3
|
||||
|
||||
keyword linestart 0\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 1\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 2\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 3\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 4\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 5\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 6\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 7\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 8\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart 9\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
|
||||
keyword linestart \s\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart \s\s\{0123456789\s\}\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart \s\s\s\{0123456789\s\}\{0123456789\s\}\s white/26 brightcyan/2
|
||||
keyword linestart \s\s\s\s\{0123456789\s\}\s white/26 brightcyan/2
|
||||
|
||||
# comments and quotes
|
||||
keyword '*' green/6
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user