mirror of
https://github.com/nix-community/nixvim.git
synced 2026-09-26 09:10:37 -04:00
modules/lps/servers/tinymist: add some more documentation
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user