autoload/lsp.vim | 2 +- diff --git a/autoload/lsp.vim b/autoload/lsp.vim index 18a84fb3e457a60a11176983e15b53a6ed0e21b4..fdaa0eb5a160edacf00bf6d2ada9d891e612c4d5 100644 --- a/autoload/lsp.vim +++ b/autoload/lsp.vim @@ -450,7 +450,7 @@ # Enable omni-completion by default server['omnicompl'] = v:true endif - if !server.path->filereadable() + if !executable(server.path) util.ErrMsg('Error: LSP server ' .. server.path .. ' is not found') return endif