summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/yang_lsp.lua
blob: d4c9b8b69a97b722fe7d1204a6d96107ab602715 (plain)
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 = { 'yang-language-server' },
    filetypes = { 'yang' },
    root_dir = util.find_git_ancestor,
  },
  docs = {
    description = [[
https://github.com/TypeFox/yang-lsp

A Language Server for the YANG data modeling language.
]],
    default_config = {
      root_dir = [[util.find_git_ancestor]],
    },
  },
}