From aa10848b6c32382084849b8ce04c3c847442237b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Fri, 4 Oct 2024 12:03:23 +0300 Subject: [PATCH] Nixd test --- development.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/development.nix b/development.nix index a66756f..5d4bc73 100644 --- a/development.nix +++ b/development.nix @@ -25,6 +25,7 @@ environment.systemPackages = with pkgs; [ nodejs-slim nixfmt-rfc-style + nixd ]; #################### Neovim configuration #################### @@ -71,7 +72,14 @@ rust-analyzer.inlayHints.expressionAdjustmentHints.enable: "always", rust-analyzer.inlayHints.expressionAdjustmentHints.hideOutsideUnsafe: true, rust-analyzer.inlayHints.lifetimeElisionHints.enable: "always", - rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames: true + rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames: true, + + "languageserver": { + "nix": { + "command": "nixd", + "filetypes": ["nix"] + } + } } ''}"; in