aboutsummaryrefslogtreecommitdiff
path: root/after/plugin/lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'after/plugin/lsp.lua')
-rw-r--r--after/plugin/lsp.lua31
1 files changed, 0 insertions, 31 deletions
diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua
deleted file mode 100644
index bf6a29d..0000000
--- a/after/plugin/lsp.lua
+++ /dev/null
@@ -1,31 +0,0 @@
-local lsp_zero = require('lsp-zero')
-
-lsp_zero.on_attach(function(client, bufnr)
- -- see :help lsp-zero-keybindings
- -- to learn the available actions
- lsp_zero.default_keymaps({buffer = bufnr})
-end)
-
-
-local lspconfig = require('lspconfig')
-lspconfig.gopls.setup{}
-lspconfig.terraformls.setup{}
-lspconfig.yamlls.setup {
- settings = {
- yaml = {
- kubernetes = "*.{yaml,yml}",
- ["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/prettierrc"] = ".prettierrc.{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/dependabot-v2"] = ".github/dependabot.{yml,yaml}",
- ["https://json.schemastore.org/gitlab-ci"] = "*gitlab-ci*.{yml,yaml}",
- ["https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json"] = "*api*.{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}",
- }
- }
-}