mirror of
https://github.com/zyedidia/micro
synced 2024-09-30 13:14:00 +00:00
cc9dd00948
This commit adds the string group (constant.string) to valid strings in all the syntax files that support colorschemes (see the readme in the runtime/syntax directory). Fixes #178
12 lines
603 B
Plaintext
12 lines
603 B
Plaintext
## Here is an example for Java.
|
|
##
|
|
syntax "Java" "\.java$"
|
|
color type "\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\b"
|
|
color statement "\b(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\b"
|
|
color type "\b(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\b"
|
|
color constant.string ""[^"]*""
|
|
color constant "\b(true|false|null)\b"
|
|
color comment "//.*"
|
|
color comment start="/\*" end="\*/"
|
|
color comment start="/\*\*" end="\*/"
|