Files
dotfiles/nvim/lua/config/lsp_servers/yamlls.lua
Lee Tang be54aaeeaf merge
2022-03-28 15:30:50 +08:00

13 lines
443 B
Lua

return {
filetypes = { 'yaml', 'yml' },
settings = {
yaml = {
schemas = {
['https://json.schemastore.org/github-workflow.json'] = '/.github/workflows/*',
Kubernetes = { '/*k8s.yaml', '/*k8s.yml' },
--['https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.0-standalone-strict/all.json'] = '/*.k8s.yaml',
},
},
},
}