Set up typst

This commit is contained in:
Natsu Kagami 2023-07-03 22:42:03 +02:00
parent 44021e3df2
commit 4f6a9ce7ca
Signed by: nki
GPG key ID: 55A032EB38B49ADB
6 changed files with 59 additions and 6 deletions

View file

@ -247,6 +247,11 @@ in
default = lspConfig.semantic_tokens.faces;
description = "The semantic tokens faces mapping given to kak";
};
semanticTokens.additionalFaces = mkOption {
type = types.listOf types.anything;
default = [ ];
description = "The semantic tokens faces mapping given to kak";
};
serverTimeout = mkOption {
type = types.int;
@ -274,7 +279,7 @@ in
yj -jt -i \
< ${
pkgs.writeText "config.json" (builtins.toJSON {
semantic_tokens.faces = cfg.semanticTokens.faces;
semantic_tokens.faces = cfg.semanticTokens.faces ++ cfg.semanticTokens.additionalFaces;
server.timeout = cfg.serverTimeout;
snippet_support = cfg.enableSnippets;
verbosity = 255;