nano-highlight icon indicating copy to clipboard operation
nano-highlight copied to clipboard

YAML strings starting with number highlights numbers

Open kbakk opened this issue 3 years ago • 2 comments

Example:

image

Expects: Only key2's value is syntax highlighted as a number

Actual: Strings starting with numbers have their number in a different color than the rest of the string

kbakk avatar Aug 03 '22 08:08 kbakk

@kbakk I am busy with many other things, so while I can fix this, I don't have much time to fix it. If you have the time / desire to fix this issue then please, do so and make a PR. If not, IDK how soon it will be before I can make an update.

Take care and thank you.

serialhex avatar Aug 03 '22 16:08 serialhex

I can see if I manage to submit a PR, will update here once ready.

kbakk avatar Aug 05 '22 15:08 kbakk