Skip to content

Commit 4b0fc48

Browse files
authored
Removes typo in diagnostics. (#415)
There is a typo in the diagnostics file that triggers an error on start if the diagnostics are disabled.
1 parent 2f0cbbf commit 4b0fc48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsc/diagnostics.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function! lsc#diagnostics#forFile(file_path) abort
6262
endfunction
6363

6464
function! lsc#diagnostics#setForFile(file_path, diagnostics) abort
65-
if (exists('g:lsc_enable_diagnostics') && !g:lsc_enable_diagnosticsa)
65+
if (exists('g:lsc_enable_diagnostics') && !g:lsc_enable_diagnostics)
6666
\ || (empty(a:diagnostics) && !has_key(s:file_diagnostics, a:file_path))
6767
return
6868
endif

0 commit comments

Comments
 (0)