summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/diagnosticls.lua
blob: 6fdba0fc2bce6f7db0d5bf40e46b2d9f89455886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local util = require 'lspconfig.util'

return {
  default_config = {
    cmd = { 'diagnostic-languageserver', '--stdio' },
    root_dir = util.find_git_ancestor,
    single_file_support = true,
    filetypes = {},
  },
  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',
    },
  },
}