Skip to content

Commit

Permalink
Removes typo in diagnostics. (#415)
Browse files Browse the repository at this point in the history
There is a typo in the diagnostics file that triggers an error on start if the diagnostics are disabled.
  • Loading branch information
threkk authored Apr 28, 2021
1 parent 2f0cbbf commit 4b0fc48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/lsc/diagnostics.vim
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function! lsc#diagnostics#forFile(file_path) abort
endfunction

function! lsc#diagnostics#setForFile(file_path, diagnostics) abort
if (exists('g:lsc_enable_diagnostics') && !g:lsc_enable_diagnosticsa)
if (exists('g:lsc_enable_diagnostics') && !g:lsc_enable_diagnostics)
\ || (empty(a:diagnostics) && !has_key(s:file_diagnostics, a:file_path))
return
endif
Expand Down

0 comments on commit 4b0fc48

Please sign in to comment.