This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
YAML highlighting of value portion of key-value for non-quoted, non-multiline strings continues onto next line erroneously #78
Labels
Prerequisites
Description
[Description of the issue]
YAML highlighting for a key's value continues onto the next line when it is a simple, non-quoted string (not a list, another key, a multiline string (with | or >), etc, and the highlighting should not continue.
Simple test case in YAML file to reproduce
Expected behavior: [What you expect to happen]
When using a simple, non-quoted string in YAML, I expect the next line's content to not be highlighted unless it is a quoted string, a list, a multiline string (with | or >), etc. In the example, 'is' begins a line that violates YAML's syntax. One suggestion that this case is the correct one is that trying to load a test yaml file in Python with the text will throw an error with the text
could not find expected ':'
on the example line "is".Actual behavior: [What actually happens]
YAML highlighting for a key's value continues onto the next line when it is a simple, non-quoted string (not a list, another key, a multiline string (with | or >), etc. See image below.
Reproduces how often: [What percentage of the time does it reproduce?]
Always
Versions
atom --version
Atom : 1.14.4
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0
apm --version
apm 1.15.3
npm 3.10.5
node 4.4.5 x64
python 2.7.13
git 2.12.0
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
The text was updated successfully, but these errors were encountered: