Skip to content

lsp-zero? #523

Closed Answered by GaetanLepage
boozedog asked this question in Q&A
Aug 16, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hello !
Currently we don't support lspzero. I don't think it is super useful because nixvim already does some of the work for you when you enable plugins.nvim-cmp and plugins.lsp. For instance, the capabilities stuff regarding the nvim_lsp source is already managed automatically.
Also, enabling a specific server is as simple as doing plugins.lsp.servers.anyServer.enable = true.
This will also install it for you thanks to nixpkgs (so the mason part is useless).

You have two options:

  1. (recommended) Configure nvim-lsp and nvim-cmp "manually" through plugins.nvim-cmp and plugins.lsp. This is not that hard.
    You can have a look at my config as an example: completion.nix lsp.nix.
  2. You can also use

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GaetanLepage
Comment options

Answer selected by GaetanLepage
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