mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 03:20:08 +02:00
plugins/lsp/tinymist: add settings options
This commit is contained in:
parent
72ff1489c7
commit
d844ac1a06
3 changed files with 166 additions and 0 deletions
48
tests/test-sources/plugins/lsp/language-servers/tinymist.nix
Normal file
48
tests/test-sources/plugins/lsp/language-servers/tinymist.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue