natebosch/vim-lsc

Unfedined variable: g:lsc_enable_diagnosticsa

gregheiman opened this issue · 1 comments

I am getting the following error message:
[lsc:Error] Error from message handler: 'Vim(if):E121: Undefined variable: g:lsc_enable_diagnosticsa'

Which makes me think that I have misspelled the variable, however my Vimrc is as follows:

let g:lsc_enable_diagnostics = v:false
let g:lsc_server_commands = {
    \ 'cpp': {
        \ 'command': 'clangd --background-index --log=error',
        \ 'suppress_stderr': v:true
    \},
\}

Did the option change or am I missing something?
Thanks!

Never mind looks like this error is due to a typo in the diagnostics.vim file. It looks like there is a pull request for it currently at #415. Will now close the issue.