vim-lsp-settings icon indicating copy to clipboard operation
vim-lsp-settings copied to clipboard

Understanding how to install efm-langserver is hard

Open gotcha opened this issue 2 years ago • 3 comments

When issuing LspInstallServer efm-langserver, I got an error message: efm-langserver requested but is disabled by global or local settings

I eventually found a way of installing the server even though I did not find it documented anywhere. I had to explicitly enable efm-langserver in my vimrc:

let g:lsp_settings = {
 \  'efm-langserver': {
 \    'disabled': 0,
 \   },
 \ }

It might be useful to add this to documentation.

gotcha avatar Sep 22 '21 13:09 gotcha

I had the same issue and spent much time. I agree this required setting is documented, too.

asmka avatar Jun 09 '22 13:06 asmka

+1 For this.

AlexvZyl avatar Jul 19 '22 23:07 AlexvZyl

Looks like this is the work-around (in .vimrc)

    let g:lsp_settings = {
    \  'efm-langserver': {'disabled': v:false}
    \}

kflu avatar Jun 27 '23 21:06 kflu