natebosch / vim-lsc

A vim plugin for communicating with a language server
BSD 3-Clause "New" or "Revised" License
693 stars 79 forks source link

Don't run diagnostic hightlights if lsc_enable_diagnostics is false #448

Closed arp242 closed 1 year ago

arp242 commented 2 years ago

It would only check lsc_diagnostic_highlights, so "disabling diagnostic" intuitively requires setting two variables.

This was causing problems for me since lsc#cursor#showDiagnostic() does echo '', which cleared text in the cmdline windows from somewhere else.

natebosch commented 1 year ago

Thanks!