diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/tinymist.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/tinymist.lua b/lua/lspconfig/server_configurations/tinymist.lua new file mode 100644 index 00000000..c2559720 --- /dev/null +++ b/lua/lspconfig/server_configurations/tinymist.lua @@ -0,0 +1,16 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'tinymist' }, + filetypes = { 'typst' }, + root_dir = util.find_git_ancestor, + single_file_support = false, + }, + docs = { + description = [[ +https://github.com/Myriad-Dreamin/tinymist +An integrated language service for Typst [taɪpst]. You can also call it "微霭" [wēi ǎi] in Chinese. + ]], + }, +} |
