blob: 9c96d4206b0b83c0e042d61784dc71574ea2d4e9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
return {
-- Configuration from https://github.com/iamcco/diagnostic-languageserver#config--document
default_config = {
cmd = { 'diagnostic-languageserver', '--stdio' },
root_dir = function(fname)
return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
end,
single_file_support = true,
-- Empty by default, override to add filetypes.
filetypes = {},
},
docs = {
description = [[
https://github.com/iamcco/diagnostic-languageserver
Diagnostic language server integrate with linters.
]],
},
}
|