chore(neovim): update helm-ls LSP configuration
This commit is contained in:
parent
7994ecd86c
commit
7c8685e7da
1 changed files with 4 additions and 5 deletions
|
@ -1,7 +1,8 @@
|
||||||
return {
|
return {
|
||||||
cmd = { 'helm_ls', 'serve' },
|
cmd = { 'helm_ls', 'serve' },
|
||||||
filetypes = { 'helm' },
|
filetypes = { 'helm', 'yaml.helm-values' },
|
||||||
root_markers = { 'Chart.yaml' },
|
single_file_support = true,
|
||||||
|
root_markers = { 'values.yaml', 'Chart.yaml' },
|
||||||
capabilities = {
|
capabilities = {
|
||||||
workspace = {
|
workspace = {
|
||||||
didChangeWatchedFiles = {
|
didChangeWatchedFiles = {
|
||||||
|
@ -18,9 +19,7 @@ return {
|
||||||
showdiagnosticsdirectly = false,
|
showdiagnosticsdirectly = false,
|
||||||
path = "yaml-language-server",
|
path = "yaml-language-server",
|
||||||
config = {
|
config = {
|
||||||
schemas = {
|
schemas = {},
|
||||||
kubernetes = "template/**",
|
|
||||||
},
|
|
||||||
completion = true,
|
completion = true,
|
||||||
hover = true,
|
hover = true,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue