aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/helm_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp/helm_ls.lua')
-rw-r--r--.config/nvim/lsp/helm_ls.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/.config/nvim/lsp/helm_ls.lua b/.config/nvim/lsp/helm_ls.lua
new file mode 100644
index 0000000..a2deb89
--- /dev/null
+++ b/.config/nvim/lsp/helm_ls.lua
@@ -0,0 +1,25 @@
+---@brief
+---
+--- https://github.com/mrjosh/helm-ls
+---
+--- Helm Language server. (This LSP is in early development)
+---
+--- `helm Language server` can be installed by following the instructions [here](https://github.com/mrjosh/helm-ls).
+---
+--- The default `cmd` assumes that the `helm_ls` binary can be found in `$PATH`.
+---
+--- If need Helm file highlight use [vim-helm](https://github.com/towolf/vim-helm) plugin.
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'helm_ls', 'serve' },
+ filetypes = { 'helm', 'yaml.helm-values' },
+ root_markers = { 'Chart.yaml' },
+ capabilities = {
+ workspace = {
+ didChangeWatchedFiles = {
+ dynamicRegistration = true,
+ },
+ },
+ },
+}