1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 08:10:06 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/yang_lsp.lua
2024-05-21 12:31:14 +08:00

20 lines
389 B
Lua

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]],
},
},
}