summary refs log tree commit diff stats
path: root/user/modules
diff options
context:
space:
mode:
authorAlan Pearce2022-10-14 18:01:11 +0200
committerAlan Pearce2022-10-14 18:01:18 +0200
commit6e34ca8bda9cddcce1ea73f73b883a3ec8358678 (patch)
tree8c244fa50f03640b663b07dbe5ef74bc67d80833 /user/modules
parentbf435de812836511a9ba580a66acf3cd235cd15c (diff)
downloadnixfiles-6e34ca8bda9cddcce1ea73f73b883a3ec8358678.tar.lz
nixfiles-6e34ca8bda9cddcce1ea73f73b883a3ec8358678.tar.zst
nixfiles-6e34ca8bda9cddcce1ea73f73b883a3ec8358678.zip
Reformat nix files
Diffstat (limited to 'user/modules')
-rw-r--r--user/modules/tabnine.nix24
1 files changed, 12 insertions, 12 deletions
diff --git a/user/modules/tabnine.nix b/user/modules/tabnine.nix
index 1eef84ae..16065ab1 100644
--- a/user/modules/tabnine.nix
+++ b/user/modules/tabnine.nix
@@ -6,18 +6,18 @@ let
   inherit (pkgs) stdenv;
   cfg = config.programs.tabnine;
   lspConfigFile = config:
-    pkgs.runCommand "TabNine.toml"
-      {
-         buildInputs = [ pkgs.remarshal ];
-         preferLocalBuild = true;
-         allowSubstitutes = false;
-      }
-      ''
-        remarshal -if json -of toml \
-          < ${pkgs.writeText "config.json" (builtins.toJSON cfg.lspConfig)} \
-          | sed  -e 's/^\["\(.*\)"\]/[\1]/' \
-          > $out
-      '';
+  pkgs.runCommand "TabNine.toml"
+  {
+    buildInputs = [ pkgs.remarshal ];
+    preferLocalBuild = true;
+    allowSubstitutes = false;
+  }
+  ''
+    remarshal -if json -of toml \
+    < ${pkgs.writeText "config.json" (builtins.toJSON cfg.lspConfig)} \
+    | sed  -e 's/^\["\(.*\)"\]/[\1]/' \
+    > $out
+  '';
 in
 {