From e363cd7da99fd6d1533c81e2418a89e0ae19f2a3 Mon Sep 17 00:00:00 2001 From: "Aldric.li" <31800073+Parsifa1@users.noreply.github.com> Date: Mon, 18 Mar 2024 14:08:56 +0800 Subject: feat: add tinymist (#3075) * feat: add tinymist * fix(tinymist): typo * fix(tinymist): typo * feat: add .git detect * fix: no single file support * fix: true to false * fix: change reviewed Co-authored-by: Raphael --------- Co-authored-by: Raphael --- lua/lspconfig/server_configurations/tinymist.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lua/lspconfig/server_configurations/tinymist.lua (limited to 'lua') 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. + ]], + }, +} -- cgit v1.2.3-70-g09d2