ne icon indicating copy to clipboard operation
ne copied to clipboard

yaml syntax highlighting of single-quoted strings incorrect

Open miiichael opened this issue 2 years ago • 2 comments

Within single-quote YAML strings, backslashes are not special. This means ne (and joe) currently highlights this incorrectly:

image

'\' (a single backslash) is not the same as "\" (an incomplete double-quoted string). Only ' is special inside single-quoted strings, by my understanding.

miiichael avatar Apr 26 '23 07:04 miiichael

You are correct. Please try the syntax/yaml.jsf file from the yaml-strings branch (here) and let us know what you think.

utoddl avatar May 05 '23 00:05 utoddl

Yes, much better. image

miiichael avatar May 05 '23 06:05 miiichael