all repos — nixfiles @ a29fb071248aaeaacb0c808dbb3c0c5adbe4e7ef

System and user configuration, managed by nix and home-manager

tabnine: fixup toml file
Alan Pearce alan@alanpearce.eu
Wed, 27 Nov 2019 12:01:15 +0100
commit

a29fb071248aaeaacb0c808dbb3c0c5adbe4e7ef

parent

9dc35cbdab4445932a85ab657c59aeda7718df53

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M user/modules/tabnine.nixuser/modules/tabnine.nix
@@ -14,6 +14,7 @@ }       ''
         remarshal -if json -of toml \
           < ${pkgs.writeText "config.json" (builtins.toJSON cfg.lspConfig)} \
+          | sed  -e 's/^\["\(.*\)"\]/[\1]/' \
           > $out
       '';
 in