Skip to content

Commit

Permalink
Ticket #4286: mcedit: fix errors in syntax definitions.
Browse files Browse the repository at this point in the history
Fixed:
  - use of "grey" instead of "gray" (same for "lightgray");
  - use of space in keywords;
  - typos.

Signed-off-by: Andrew Borodin <[email protected]>
  • Loading branch information
mstilkerich authored and aborodin committed Sep 4, 2021
1 parent 6a855b1 commit 4973eb0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions misc/syntax/css.syntax
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ context default
keyword whole lightcoral brightgreen
keyword whole lightcyan brightgreen
keyword whole lightgoldenrodyellow brightgreen
keyword whole lightgrey brightgreen
keyword whole lightgray brightgreen
keyword whole lightgreen brightgreen
keyword whole lightpink brightgreen
keyword whole lightsalmon brightgreen
Expand Down Expand Up @@ -504,8 +504,8 @@ context default
keyword whole arial brightgreen
keyword whole Narrow brightgreen
keyword whole narrow brightgreen
keyword whole Trebuchet MS brightgreen
keyword whole trebuchet ms brightgreen
keyword whole Trebuchet\sMS brightgreen
keyword whole trebuchet\sms brightgreen
keyword whole verdana brightgreen
keyword whole Verdana brightgreen
keyword whole sans-serif brightgreen
Expand Down Expand Up @@ -547,4 +547,4 @@ context exclusive /\* \*/ brown
context exclusive counter( ) magenta
context exclusive counters( ) magenta
context exclusive rgb( ) magenta
context exclusive url( ) magenta
context exclusive url( ) magenta
2 changes: 1 addition & 1 deletion misc/syntax/glsl.syntax
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ context default
keyword whole cast yellow
keyword whole namespace yellow
keyword whole using yellow
keyword whole row major yellow
keyword whole row_major yellow
keyword whole early_fragment_tests yellow

# Deprecated
Expand Down
2 changes: 1 addition & 1 deletion misc/syntax/procmail.syntax
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._
context " " green
keyword ${*} brightgreen

context exclusive ` ` lightgrey black
context exclusive ` ` lightgray black
keyword '*' green
keyword " green
keyword \\` brightred
Expand Down
6 changes: 3 additions & 3 deletions misc/syntax/r.syntax
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

context default

keyword ->> brightred grey
keyword <<- brightred grey
keyword -> brightred grey
keyword ->> brightred gray
keyword <<- brightred gray
keyword -> brightred gray

keyword <- brightred

Expand Down
2 changes: 1 addition & 1 deletion misc/syntax/swift.syntax
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ context default
keyword ^ operators
keyword ~ operators
keyword ! operators
keyword whole _ operatots
keyword whole _ operators
keyword { brackets
keyword } brackets
keyword ( brackets
Expand Down
2 changes: 1 addition & 1 deletion misc/syntax/yabasic.syntax
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ context default yellow
keyword whole let white
keyword whole line white
keyword whole local white
keyword whole lo gwhite
keyword whole lo white
keyword whole loop white
keyword whole lower white
keyword whole ltrim white
Expand Down

0 comments on commit 4973eb0

Please sign in to comment.