Skip to content

Commit

Permalink
Add nixd language server for nix in helix
Browse files Browse the repository at this point in the history
  • Loading branch information
francishamel committed Dec 6, 2024
1 parent 8ffdcf9 commit 9c98e89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions home-manager/modules/helix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];
}
];
};
Expand Down

0 comments on commit 9c98e89

Please sign in to comment.