blob: 4d8ec17d234676bf776f1d657c5b579bdeec1a11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'typst-lsp' },
filetypes = { 'typst' },
single_file_support = true,
root_dir = function(fname)
return util.find_git_ancestor(fname)
end,
},
docs = {
description = [[
https://github.com/nvarner/typst-lsp
Language server for Typst.
]],
},
}
|