mattn / vim-lsp-settings

Auto configurations for Language Server for vim-lsp
MIT License
1.3k stars 232 forks source link

Understanding how to install efm-langserver is hard #468

Open gotcha opened 3 years ago

gotcha commented 3 years ago

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.

asmka commented 2 years ago

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

AlexvZyl commented 2 years ago

+1 For this.

kflu commented 1 year ago

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

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