Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

nvim-lsp-installer middleware module not found #855

Answered by calbch
calbch asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out! I needed to use

use {
    "williamboman/nvim-lsp-installer",
    "neovim/nvim-lspconfig",
  }

instead of

 use({
    "neovim/nvim-lspconfig",
    event = "BufReadPre",
    requires = {
      { "williamboman/nvim-lsp-installer" }
    },
  })

in my packer config. The second case installed the package in /opt instead of /start.
This leads to local util = require "lspconfig.util" in middleware not being resolved correctly.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by calbch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant