aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/yang_lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp/yang_lsp.lua')
-rw-r--r--.config/nvim/lsp/yang_lsp.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/nvim/lsp/yang_lsp.lua b/.config/nvim/lsp/yang_lsp.lua
new file mode 100644
index 0000000..1ae15f5
--- /dev/null
+++ b/.config/nvim/lsp/yang_lsp.lua
@@ -0,0 +1,12 @@
+---@brief
+---
+--- https://github.com/TypeFox/yang-lsp
+---
+--- A Language Server for the YANG data modeling language.
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'yang-language-server' },
+ filetypes = { 'yang' },
+ root_markers = { '.git' },
+}