diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2023-12-03 14:34:29 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2023-12-03 14:34:29 +0100 |
| commit | 03eb44293762bbbe7459b91a4c7bdf23e62a5bf6 (patch) | |
| tree | ff5b5dad4343a57ab1441787f5ccabcd07b6ffb8 | |
| parent | c577c214d03cc1b99265681243ed8d0013b40605 (diff) | |
| parent | 2bae933b6940bb18abdda30435cdbaaa30f3a3a7 (diff) | |
| download | dotfiles-03eb44293762bbbe7459b91a4c7bdf23e62a5bf6.tar.gz dotfiles-03eb44293762bbbe7459b91a4c7bdf23e62a5bf6.tar.bz2 dotfiles-03eb44293762bbbe7459b91a4c7bdf23e62a5bf6.zip | |
Merge branch 'master' of github.com:cacharle/dotfiles
| -rw-r--r-- | config/nvim/lua/plugins.lua | 16 | ||||
| -rw-r--r-- | config/vim/vimrc | 4 |
2 files changed, 18 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}", + }, } } } diff --git a/config/vim/vimrc b/config/vim/vimrc index 6822f78..d23c48e 100644 --- a/config/vim/vimrc +++ b/config/vim/vimrc @@ -1,3 +1,7 @@ +if has('nvim') + finish +endif + " xdg {{{ set runtimepath^=$XDG_CONFIG_HOME/vim set runtimepath+=$XDG_DATA_HOME/vim |
