blob: 6b865ba055242ce8e0d1a265300cb41ad1756331 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
local configs = require "lspconfig/configs"
local util = require "lspconfig/util"
local server_name = "diagnosticls"
local bin_name = "diagnostic-languageserver"
configs[server_name] = {
default_config = {
cmd = { bin_name, "--stdio" },
filetypes = {},
root_dir = util.path.dirname,
},
docs = {
description = [[
https://github.com/iamcco/diagnostic-languageserver
Diagnostic language server integrate with linters.
]],
default_config = {
filetypes = "Empty by default, override to add filetypes",
root_dir = "Vim's starting directory",
init_options = "Configuration from https://github.com/iamcco/diagnostic-languageserver#config--document",
},
},
}
|