From 5419ff210d3167867862b9e8e72d31aac7eac51c Mon Sep 17 00:00:00 2001 From: osbm Date: Fri, 7 Mar 2025 16:40:15 +0300 Subject: [PATCH] formatting --- plugins/lsp/nix.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/lsp/nix.nix b/plugins/lsp/nix.nix index d78bea3..2538126 100644 --- a/plugins/lsp/nix.nix +++ b/plugins/lsp/nix.nix @@ -1,12 +1,10 @@ -{lib, pkgs, self, ...}: { +{ lib, pkgs, self, ... }: { plugins.lsp.servers.nixd = { enable = true; settings = let flake = ''(builtins.getFlake "${self}")''; in { nixpkgs.expr = "import ${flake}.inputs.nixpkgs { }"; - formatting = { - command = [ "${lib.getExe pkgs.nixfmt-rfc-style}" ]; - }; + formatting.command = [ "${lib.getExe pkgs.nixfmt-rfc-style}" ]; }; }; -} \ No newline at end of file +}