vscode-yaml
vscode-yaml copied to clipboard
Value highlighting does not correspond to YAML 1.2 specification
Describe the bug
With a YAML spec of 1.2 chosen in settings (Default) - the highlighting of values does not correspond to the 1.2 specification as some strings are being highlighted as if boolean. It appears that strings that corresponding to boolean from older specification are being highlighted
Expected Behavior
${{\color{lightskyblue}\Huge{\textsf{Stage:\ }}}}$ ${{\color{lightskyblue}\Huge{\textsf{ Axis1:\ }}}}$ ${{\color{darkorange}\Huge{\textsf{ X\ }}}}$ ${{\color{lightskyblue}\Huge{\textsf{ Axis2:\ }}}}$ ${{\color{darkorange}\Huge{\textsf{ Y\ }}}}$ ${{\color{lightskyblue}\Huge{\textsf{ Axis3:\ }}}}$ ${{\color{darkorange}\Huge{\textsf{ Z\ }}}}$
As per https://yaml.org/spec/1.2.2/
Current Behavior
${{\color{lightskyblue}\Huge{\textsf{Stage:\ }}}}$ ${{\color{lightskyblue}\Huge{\textsf{ Axis1:\ }}}}$ ${{\color{darkorange}\Huge{\textsf{ X\ }}}}$ ${{\color{lightskyblue}\Huge{\textsf{ Axis2:\ }}}}$ ${{\color{lightskyblue}\Huge{\textsf{ Y\ }}}}$ ${{\color{lightskyblue}\Huge{\textsf{ Axis3:\ }}}}$ ${{\color{darkorange}\Huge{\textsf{ Z\ }}}}$