modules/lps/servers/tinymist: add some more documentation

This commit is contained in:
belamu
2026-09-10 04:35:02 +00:00
committed by Austin Horstman
parent 41844750e5
commit e23dfa4cb7
2 changed files with 9 additions and 5 deletions
+6 -3
View File
@@ -252,13 +252,16 @@
};
tinymist = {
description = "Tinymist is a language server for the typesetting system Typst.";
description = "[Tinymist](https://myriad-dreamin.github.io/tinymist/) is a language server for the typesetting system [Typst](https://typst.app/docs/). This language server works well with the plugin [typst-preview](https://nix-community.github.io/nixvim/plugins/typst-preview/index.html), enabled by `plugins.typst-preview.enable = true;`";
config = {
extraDescription = ''
Configuration options are described in the [Tinymist documentation](https://myriad-dreamin.github.io/tinymist/).
Configuration options are described in the [Tinymist documentation](https://myriad-dreamin.github.io/tinymist/config/neovim.html) with some examples [for Neovim](https://myriad-dreamin.github.io/tinymist/frontend/neovim.html#label-Configuration/). Note the extra nesting level with `setting`.
'';
example = {
settings.formatterMode = "typstyle";
settings = {
formatterMode = "typstyle";
formatterProseWrap = true;
};
};
};
};
+3 -2
View File
@@ -105,17 +105,18 @@ let
};
tinymist = {
configDescription = ''
Configurations for tinymist. Configuration options are described in the [Tinymist documentation](https://myriad-dreamin.github.io/tinymist/).
Configurations for tinymist. Configuration options are described in the [Tinymist documentation](https://myriad-dreamin.github.io/tinymist/config/neovim.html) with some examples [for Neovim](https://myriad-dreamin.github.io/tinymist/frontend/neovim.html#label-Configuration/). Note the extra nesting level with `setting`.
'';
configExample = renderExample [
"{"
" settings = {"
" formatterMode = \"typstyle\";"
" formatterProseWrap = true;"
" };"
"}"
];
description = "Tinymist is a language server for the typesetting system Typst.";
description = "[Tinymist](https://myriad-dreamin.github.io/tinymist/) is a language server for the typesetting system [Typst](https://typst.app/docs/). This language server works well with the plugin [typst-preview](https://nix-community.github.io/nixvim/plugins/typst-preview/index.html), enabled by `plugins.typst-preview.enable = true;`";
};
yamlls = {
configDescription = ''