diff options
Diffstat (limited to 'user/modules')
-rw-r--r-- | user/modules/tabnine.nix | 24 |
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 { |