Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Remove error for unquotes values? #6

Open
jpesce opened this issue Sep 6, 2020 · 2 comments
Open

Remove error for unquotes values? #6

jpesce opened this issue Sep 6, 2020 · 2 comments

Comments

@jpesce
Copy link

jpesce commented Sep 6, 2020

From https://github.com/komkom/jsonc:

Jsonc is a simplified json format which allows comments and unquoted values delimited by whitespace.

As it is vim-jsonc doesn't allow unquoted values. Any plans for allowing them?

How it currently looks like (red means error):

Screen Shot 2020-09-05 at 21 27 40

@kevinoid
Copy link
Owner

kevinoid commented Sep 6, 2020

Thanks for opening this issue. I wasn't aware of that feature of komkom/jsonc.

I don't have any plans to support it at the moment (since I don't have a use for it personally), but I'm not opposed to the idea. Do you know of any popular software currently using that library/feature? At a minimum, I'll update README.md to clarify that it's not currently supported, and investigate the feasibility of supporting it when I have a chance to work on this package a bit.

@jpesce
Copy link
Author

jpesce commented Sep 6, 2020

Hey, thanks for the quick reply!

VTEX's newest development platform (VTEX IO) uses jsonc and supports unquoted values. Not sure if they use specifically komkom/jsonc, but the feature is definitely supported. I personally don't use unquoted values either but while reviewing/editing some files that use them it's kind of a minor annoyance to see them highlighted as errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants