diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2022-11-21 08:27:04 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2022-11-21 08:27:04 +0300 |
commit | d10997addbd6753b6a4e2db663a539848510ddbc (patch) | |
tree | d5ac409503c9c1b767b8fd5c11816bfa8b6d0f27 /lib/lexers/c.tes | |
parent | 4273088e40c21bffe449fc13bfc2a8d760c3dc7d (diff) | |
download | sciteco-d10997addbd6753b6a4e2db663a539848510ddbc.tar.gz |
improved the C/C++ and Gob lexers
* single quoted constants are highlighted like single quoted strings in all other
auto-generated lexers using "CPP".
* recognize /// and //! and comments after preprocessor statements
Diffstat (limited to 'lib/lexers/c.tes')
-rw-r--r-- | lib/lexers/c.tes | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/lexers/c.tes b/lib/lexers/c.tes index d4aeb52..7ed79d2 100644 --- a/lib/lexers/c.tes +++ b/lib/lexers/c.tes @@ -49,7 +49,10 @@ :M[color.number],4M[color.set] :M[color.keyword],5M[color.set] :M[color.string],6M[color.set] - :M[color.string],7M[color.set] + :M[color.string2],7M[color.set] :M[color.preproc],9M[color.set] :M[color.operator],10M[color.set] + :M[color.comment],15M[color.set] + :M[color.comment],23M[color.set] + :M[color.comment],24M[color.set] } |