diff --git a/modules/lsp/servers/packages.nix b/modules/lsp/servers/packages.nix index be6cea6e..51f8e5c9 100644 --- a/modules/lsp/servers/packages.nix +++ b/modules/lsp/servers/packages.nix @@ -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; + }; }; }; }; diff --git a/tests/docs-options.nix b/tests/docs-options.nix index e1f4d8eb..326a1d78 100644 --- a/tests/docs-options.nix +++ b/tests/docs-options.nix @@ -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 = ''