Skip to content

gopls not working as intended from lsp #1442

Closed Answered by GaetanLepage
mooyg asked this question in Q&A
Discussion options

You must be logged in to vote

So, to enable the gopls language server in nixvim but prevent the installation of gopls, do the following:

plugins.lsp = {
  enable = true;
  servers.gopls = {
    enable = true;
    package = null;
  };
};

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@GaetanLepage
Comment options

@mooyg
Comment options

@GaetanLepage
Comment options

@GaetanLepage
Comment options

Answer selected by mooyg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants