Skip to content

Commit

Permalink
fix schemastore
Browse files Browse the repository at this point in the history
  • Loading branch information
mosheavni committed May 9, 2024
1 parent 05806ea commit dfaa44e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .config/nvim/lua/plugins/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ local language_specific_plugins = {
})
end,
},
{ 'b0o/SchemaStore.nvim', ft = 'yaml' },
{ 'b0o/SchemaStore.nvim', lazy = true },
}

return {
Expand Down
6 changes: 3 additions & 3 deletions .config/nvim/lua/user/lsp/servers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ M.setup = function()
cmd = { 'helm_ls', 'serve' },
filetypes = { 'helm', 'gotmpl' },
root_dir = function(fname)
return util.root_pattern 'Chart.yaml' (fname)
return util.root_pattern 'Chart.yaml'(fname)
end,
},
}
Expand Down Expand Up @@ -205,9 +205,9 @@ M.setup = function()
cmd = { 'node', vim.fn.expand '~/Repos/yaml-language-server/out/server/src/server.js', '--stdio' },
settings = {
yaml = {
schemas = {
schemas = vim.tbl_deep_extend('force', require('schemastore').yaml.schemas(), {
kubernetes = '/*',
},
}),
},
},
}
Expand Down

0 comments on commit dfaa44e

Please sign in to comment.