summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/tinymist.lua
diff options
context:
space:
mode:
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/tinymist.lua')
-rw-r--r--start/lspconfig-0.1.8/lua/lspconfig/server_configurations/tinymist.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/tinymist.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/tinymist.lua
new file mode 100644
index 0000000..c255972
--- /dev/null
+++ b/start/lspconfig-0.1.8/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.
+ ]],
+ },
+}