-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single dot shows as a float while it's a string #1039
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When a single dot is a value in key/value map, it is shown as a float while YAML parses it as a string
Expected Behavior
The dot has highlight as a string
Current Behavior
The dot has highlight as a float
Steps to Reproduce
.
should be highlighted as a string, not as a number. Because YAML will parse it as a string. This parsed as a JSON is:Environment
The text was updated successfully, but these errors were encountered: