From 266ada0e90b16bb3337af4f2ff5793f7163e47e2 Mon Sep 17 00:00:00 2001 From: buffet Date: Wed, 25 Jan 2023 13:05:53 +0100 Subject: [PATCH] feat(lsp): add nix lsp, install lsp servers --- programs/nvim.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/programs/nvim.nix b/programs/nvim.nix index 28efab3..1bf57f2 100644 --- a/programs/nvim.nix +++ b/programs/nvim.nix @@ -8,6 +8,12 @@ EDITOR = "nvim"; }; + home.packages = with pkgs; [ + libclang + nil + rust-analyzer + ]; + programs.neovim = let leader = ","; in { @@ -365,6 +371,7 @@ servers = [ "clangd" "gopls" + "nil_ls" "rust_analyzer" ]; serverConfigs = lib.strings.concatStringsSep "\n" (builtins.map configure servers);