Skip to content

Commit

Permalink
fix(helm_ls): fix wrong cmd (#2560)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgalliou committed Apr 14, 2023
1 parent 7f776b7 commit 88b9de8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/lspconfig/server_configurations/helm_ls.lua
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
local util = require 'lspconfig.util'

local bin_name = 'helm_ls'
local cmd = { bin_name }
local cmd = { bin_name, 'serve' }

if vim.fn.has 'win32' == 1 then
cmd = { 'cmd.exe', '/C', bin_name }
cmd = { 'cmd.exe', '/C', unpack(cmd) }
end

return {
default_config = {
cmd = { cmd, 'serve' },
cmd = cmd,
filetypes = { 'helm' },
root_dir = util.root_pattern 'Chart.yaml',
single_file_support = true,
Expand Down

0 comments on commit 88b9de8

Please sign in to comment.