neoclide / coc-json

Json language extension for coc.nvim
234 stars 21 forks source link

Unable to disable schema #50

Closed notpeelz closed 2 years ago

notpeelz commented 2 years ago

I have a file named app.json, which is getting incorrectly detected as an "Expo SDK" file. Is there a way to disable that schema from the builtin catalog?

I tried to override it through the json.schemas setting, but to no avail:

"json.schemas": [
  { "fileMatch": ["app.json"], "url": "" }
]
chemzqm commented 2 years ago

You need to provide valid url.

notpeelz commented 2 years ago

I don't want to replace the url; I want to remove that schema rule altogether. Is there a way to do that?