From 9c98e8915188c5e726e62170e8f3598f823da920 Mon Sep 17 00:00:00 2001 From: Francis Hamel <36383308+francishamel@users.noreply.github.com> Date: Fri, 6 Dec 2024 12:46:11 -0500 Subject: [PATCH] Add nixd language server for nix in helix --- home-manager/modules/helix.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home-manager/modules/helix.nix b/home-manager/modules/helix.nix index 283ec6c..d6a7a29 100644 --- a/home-manager/modules/helix.nix +++ b/home-manager/modules/helix.nix @@ -24,17 +24,20 @@ in pkgs.gleam pkgs.lua-language-server pkgs.nil + pkgs.nixd pkgs.python312Packages.python-lsp-server pkgs.taplo pkgs.typescript-language-server pkgs.yaml-language-server ]; languages = { + language-server.nixd.command = "${pkgs.nixd}/bin/nixd"; language = [ { name = "nix"; auto-format = true; formatter.command = "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt"; + language-servers = [ "nixd" "nil" ]; } ]; };