Closed sdemura closed 2 years ago
Hey, try either:
1) move the require("nvim-lsp-installer").setup {}
call into the config = function ()
of lspconfig (recommended)
2) add after = "nvim-lsp-installer"
to use { "neovim/nvim-lspconfig", after = "nvim-lsp-installer", config = function () ... end }
Problem description
After updating my config to the new recommended method (not using
on_server_ready
, I'm having issues with any language server installed by nvim-lsp-installer.This is not specific to just
gopls
, but any language server installed.Relevant nvim config:
Neovim version (>= 0.6)
Operating system/version
Darwin seans-mbp.lan 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 arm64
I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig
Affected language servers
all
Actual behavior
nvim-lsp-installer reports language server installer, but complains it cannot find the executable when attaching to a buffer.
Expected behavior
the language server starts correctly.
LspInstallInfo output