summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2019-11-27 12:01:15 +0100
committerAlan Pearce2019-11-27 12:01:15 +0100
commita29fb071248aaeaacb0c808dbb3c0c5adbe4e7ef (patch)
tree70156c74158f9a7f3993ec2c9a9efa0c8b8afb63 /user
parent9dc35cbdab4445932a85ab657c59aeda7718df53 (diff)
downloadnixfiles-a29fb071248aaeaacb0c808dbb3c0c5adbe4e7ef.tar.lz
nixfiles-a29fb071248aaeaacb0c808dbb3c0c5adbe4e7ef.tar.zst
nixfiles-a29fb071248aaeaacb0c808dbb3c0c5adbe4e7ef.zip
tabnine: fixup toml file
Diffstat (limited to 'user')
-rw-r--r--user/modules/tabnine.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/modules/tabnine.nix b/user/modules/tabnine.nix
index 3230bde7..dd4d7108 100644
--- a/user/modules/tabnine.nix
+++ b/user/modules/tabnine.nix
@@ -14,6 +14,7 @@ let
       ''
         remarshal -if json -of toml \
           < ${pkgs.writeText "config.json" (builtins.toJSON cfg.lspConfig)} \
+          | sed  -e 's/^\["\(.*\)"\]/[\1]/' \
           > $out
       '';
 in