diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-19 01:19:49 +0100 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-19 01:19:49 +0100 |
| commit | e06e7ab1ee41aeff9e29f43de47ac25eef474808 (patch) | |
| tree | 840203659da32facd0be3a5f48e4f512544ac68f /lib/lexers/batch.tes | |
| parent | 92306ea966e213ccf20e9b2d3c5d8f9e1947778f (diff) | |
refactored some lexer configurations to make them more pleasurable to look at
* color.target is yellow in terminal.tes which looks awful and it should be
used sparingly.
The largest part of text in any lexer should be in the default colors.
* bash.tes now discerns between double and single quote strings like most lexers.
* autodetect GNUmakefiles
* yaml.tes now uses color.string for keys - this is for consistency with JSON
where keys will also always be strings.
Diffstat (limited to 'lib/lexers/batch.tes')
| -rw-r--r-- | lib/lexers/batch.tes | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lexers/batch.tes b/lib/lexers/batch.tes index dddd802..97717a1 100644 --- a/lib/lexers/batch.tes +++ b/lib/lexers/batch.tes @@ -17,7 +17,8 @@ :M[color.keyword],2M[color.set] :M[color.target],3M[color.set] !* Labels *! :M[color.preproc],4M[color.set] !* Hide Cmd @ *! - :M[color.preproc2],5M[color.set] !* External Cmd *! + !!:M[color.preproc2],5M[color.set] !* External Cmd *! :M[color.variable],6M[color.set] :M[color.operator],7M[color.set] + :M[color.preproc2],8M[color.set] !* After label *! } |
