summaryrefslogtreecommitdiff
path: root/nvim/lsp/salt_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lsp/salt_ls.lua')
-rwxr-xr-xnvim/lsp/salt_ls.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/nvim/lsp/salt_ls.lua b/nvim/lsp/salt_ls.lua
new file mode 100755
index 0000000..4710478
--- /dev/null
+++ b/nvim/lsp/salt_ls.lua
@@ -0,0 +1,14 @@
+---@brief
+---
+--- Language server for Salt configuration files.
+--- https://github.com/dcermak/salt-lsp
+---
+--- The language server can be installed with `pip`:
+--- ```sh
+--- pip install salt-lsp
+--- ```
+return {
+ cmd = { 'salt_lsp_server' },
+ filetypes = { 'sls' },
+ root_markers = { '.git' },
+}