summaryrefslogtreecommitdiff
path: root/dot_config/nvim_new/lsp/salt_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nvim_new/lsp/salt_ls.lua')
-rw-r--r--dot_config/nvim_new/lsp/salt_ls.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/dot_config/nvim_new/lsp/salt_ls.lua b/dot_config/nvim_new/lsp/salt_ls.lua
new file mode 100644
index 0000000..4710478
--- /dev/null
+++ b/dot_config/nvim_new/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' },
+}