summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/tinymist.lua
blob: c2559720e8c47af36ca1b33b28832e06b00cd4e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.
    ]],
  },
}