Skip to content
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

Help with configuring with vim-json plugin #160

Open
tanelso2 opened this issue Mar 24, 2021 · 0 comments
Open

Help with configuring with vim-json plugin #160

tanelso2 opened this issue Mar 24, 2021 · 0 comments

Comments

@tanelso2
Copy link

Is your feature request related to a problem? Please describe.
I'm having trouble where the rainbow plugin where it overrides the syntax highlighting on https://github.com/elzr/vim-json. Ideally, I'd like it to show up in red if there is a missing comma.

I think this can be done with the existing options for rainbow, but I cannot figure it out. I would appreciate your help, I barely know vim code.

Describe the solution you'd like
I would like a config that allows me to use both this plugin and https://github.com/elzr/vim-json, while retaining the syntax error highlighting of that plugin.

Describe alternatives you've considered
I've tried to come up with it on my own, and I couldn't figure it out and need to move on.

Additional context
I'm using the default rainbow config.

Example json I would like to have the errors show up on (missing a comma):

[
  {
  }
  {
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant