When someone enables Ale support, it semantically implies disabling
automatic highlighting of diagnostics from this plugin.
Thus we can simplify later checks by automatically disabling
autoHighlightDiags.
# ALE plugin support
if opt.lspOptions.aleSupport
+ opt.lspOptions.autoHighlightDiags = false
autocmd_add([
{
group: 'LspAleCmds',
# This inline signs, inline props, and virtual text diagnostics
export def DiagsRefresh(bnr: number, all: bool = false)
var lspOpts = opt.lspOptions
- if !lspOpts.autoHighlightDiags || lspOpts.aleSupport
+ if !lspOpts.autoHighlightDiags
return
endif