aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-04-08 12:45:55 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-04-08 12:45:55 +0000
commit9ae789e7450995e4c06ed9f8f74629992d5d28a6 (patch)
tree73ca743ecbe228a48fa7ae88ed81572424fc945b /doc
parentfeat(tinymist): workspace commands #3639 (diff)
downloadnvim-lspconfig-9ae789e7450995e4c06ed9f8f74629992d5d28a6.tar
nvim-lspconfig-9ae789e7450995e4c06ed9f8f74629992d5d28a6.tar.gz
nvim-lspconfig-9ae789e7450995e4c06ed9f8f74629992d5d28a6.tar.bz2
nvim-lspconfig-9ae789e7450995e4c06ed9f8f74629992d5d28a6.tar.lz
nvim-lspconfig-9ae789e7450995e4c06ed9f8f74629992d5d28a6.tar.xz
nvim-lspconfig-9ae789e7450995e4c06ed9f8f74629992d5d28a6.tar.zst
nvim-lspconfig-9ae789e7450995e4c06ed9f8f74629992d5d28a6.zip
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/configs.md10
-rw-r--r--doc/configs.txt10
2 files changed, 18 insertions, 2 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 6d2c1bd2..fb9c96f8 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -11516,6 +11516,13 @@ Default config:
https://github.com/Myriad-Dreamin/tinymist
An integrated language service for Typst [taɪpst]. You can also call it "微霭" [wēi ǎi] in Chinese.
+Currently some of Tinymist's workspace commands are supported, namely:
+`LspTinymistExportSvg`, `LspTinymistExportPng`, `LspTinymistExportPdf
+`LspTinymistExportMarkdown`, `LspTinymistExportText`, `LspTinymistExportQuery`,
+`LspTinymistExportAnsiHighlight`, `LspTinymistGetServerInfo`,
+`LspTinymistGetDocumentTrace`, `LspTinymistGetWorkspaceLabels`, and
+`LspTinymistGetDocumentMetrics`.
+
Snippet to enable the language server:
```lua
require'lspconfig'.tinymist.setup{}
@@ -11530,7 +11537,8 @@ Default config:
```lua
{ "typst" }
```
-- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/tinymist.lua:2](../lua/lspconfig/configs/tinymist.lua#L2)
+- `on_attach` source (use "gF" to visit): [../lua/lspconfig/configs/tinymist.lua:46](../lua/lspconfig/configs/tinymist.lua#L46)
+- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/tinymist.lua:46](../lua/lspconfig/configs/tinymist.lua#L46)
- `single_file_support` : `true`
---
diff --git a/doc/configs.txt b/doc/configs.txt
index 3f0e4895..f0b63139 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -10842,6 +10842,13 @@ tinymist
https://github.com/Myriad-Dreamin/tinymist
An integrated language service for Typst [taɪpst]. You can also call it "微霭" [wēi ǎi] in Chinese.
+Currently some of Tinymist's workspace commands are supported, namely:
+`LspTinymistExportSvg`, `LspTinymistExportPng`, `LspTinymistExportPdf
+`LspTinymistExportMarkdown`, `LspTinymistExportText`, `LspTinymistExportQuery`,
+`LspTinymistExportAnsiHighlight`, `LspTinymistGetServerInfo`,
+`LspTinymistGetDocumentTrace`, `LspTinymistGetWorkspaceLabels`, and
+`LspTinymistGetDocumentMetrics`.
+
Snippet to enable the language server: >lua
require'lspconfig'.tinymist.setup{}
@@ -10855,7 +10862,8 @@ Default config:
```lua
{ "typst" }
```
-- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/tinymist.lua:2](../lua/lspconfig/configs/tinymist.lua#L2)
+- `on_attach` source (use "gF" to visit): [../lua/lspconfig/configs/tinymist.lua:46](../lua/lspconfig/configs/tinymist.lua#L46)
+- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/tinymist.lua:46](../lua/lspconfig/configs/tinymist.lua#L46)
- `single_file_support` : `true`