aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2023-12-03 14:34:29 +0100
committerCharles Cabergs <me@cacharle.xyz>2023-12-03 14:34:29 +0100
commit03eb44293762bbbe7459b91a4c7bdf23e62a5bf6 (patch)
treeff5b5dad4343a57ab1441787f5ccabcd07b6ffb8 /config/nvim/lua
parentc577c214d03cc1b99265681243ed8d0013b40605 (diff)
parent2bae933b6940bb18abdda30435cdbaaa30f3a3a7 (diff)
downloaddotfiles-03eb44293762bbbe7459b91a4c7bdf23e62a5bf6.tar.gz
dotfiles-03eb44293762bbbe7459b91a4c7bdf23e62a5bf6.tar.bz2
dotfiles-03eb44293762bbbe7459b91a4c7bdf23e62a5bf6.zip
Merge branch 'master' of github.com:cacharle/dotfiles
Diffstat (limited to 'config/nvim/lua')
-rw-r--r--config/nvim/lua/plugins.lua16
1 files changed, 14 insertions, 2 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index e53a411..f5f22fc 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -179,9 +179,21 @@ return require("packer").startup(function()
lspconfig.yamlls.setup {
settings = {
yaml = {
+ -- schemas = {
+ -- ["https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.17.0-standalone-strict/all.json"] = "/*.k8s.yaml",
+ -- }
schemas = {
- ["https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.17.0-standalone-strict/all.json"] = "/*.k8s.yaml",
- }
+ kubernetes = "*.yaml",
+ ["http://json.schemastore.org/github-workflow"] = ".github/workflows/*",
+ ["http://json.schemastore.org/github-action"] = ".github/action.{yml,yaml}",
+ ["http://json.schemastore.org/ansible-stable-2.9"] = "roles/tasks/*.{yml,yaml}",
+ ["http://json.schemastore.org/kustomization"] = "kustomization.{yml,yaml}",
+ ["http://json.schemastore.org/ansible-playbook"] = "*play*.{yml,yaml}",
+ ["http://json.schemastore.org/chart"] = "Chart.{yml,yaml}",
+ ["https://json.schemastore.org/gitlab-ci"] = "*gitlab-ci*.{yml,yaml}",
+ ["https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json"] = "*docker-compose*.{yml,yaml}",
+ ["https://raw.githubusercontent.com/argoproj/argo-workflows/master/api/jsonschema/schema.json"] = "*flow*.{yml,yaml}",
+ },
}
}
}