diff options
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/yang_lsp.lua')
-rw-r--r-- | start/lspconfig-0.1.8/lua/lspconfig/server_configurations/yang_lsp.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/yang_lsp.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/yang_lsp.lua new file mode 100644 index 0000000..d4c9b8b --- /dev/null +++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/yang_lsp.lua @@ -0,0 +1,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]], + }, + }, +} |