plugins/lsp/tinymist: add settings options

This commit is contained in:
Gaetan Lepage 2024-05-14 16:19:06 +02:00 committed by Gaétan Lepage
parent 72ff1489c7
commit d844ac1a06
3 changed files with 166 additions and 0 deletions

View file

@ -0,0 +1,48 @@
{
defaults = {
plugins.lsp = {
enable = true;
servers.tinymist = {
enable = true;
settings = {
outputPath = "$dir/$name";
exportPdf = "auto";
rootPath = null;
semanticTokens = "enable";
systemFonts = true;
fontPaths = [ ];
compileStatus = "enable";
typstExtraArgs = [ ];
serverPath = null;
"trace.server" = "off";
formatterMode = "disable";
formatterPrintWidth = 120;
};
};
};
};
formatter-typstfmt = {
plugins.lsp = {
enable = true;
servers.tinymist = {
enable = true;
settings.formatterMode = "typstfmt";
};
};
};
formatter-typstyle = {
plugins.lsp = {
enable = true;
servers.tinymist = {
enable = true;
settings.formatterMode = "typstyle";
};
};
};
}