onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.36k stars 301 forks source link

Disable Oni errors? #2719

Open cj opened 5 years ago

cj commented 5 years ago

Oni version 0.3.9.

Is it possible to disable Oni errors completely as they are producing false positives?

image 2019-02-10 at 10 45 33 am

oni-bot[bot] commented 5 years ago

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

CrossR commented 5 years ago

I don't think we have an explicit way to disable a language server currently, though I have used "language.python.languageServer.command": "", in some projects where I've not bothered to set it up properly to disable it.

Its less "disable the errors" and more "lie to Oni and tell it the wrong command to get the errors, so it can't get any", but the result should be the same. Just swap the language to whichever language you need.

cj commented 5 years ago

@CrossR Thanks for the response -- I actually forgot to mention I tried doing "language": {}, and "language.typescript.textMateGrammar": {} before with no luck, I just tried "language.typescript.languageServer.command": "" and the errors still show...