From 796fa1c5c2d3a86d3903914a7cb8a57e5ecfff44 Mon Sep 17 00:00:00 2001 From: Lee Tang Date: Tue, 21 Feb 2023 22:09:18 +0800 Subject: [PATCH] update Signed-off-by: Lee Tang --- direnv/direnvrc | 1 + nvim/lua/config/lsp-setup.lua | 9 +-------- 2 files changed, 2 insertions(+), 8 deletions(-) create mode 100644 direnv/direnvrc diff --git a/direnv/direnvrc b/direnv/direnvrc new file mode 100644 index 0000000..998c9cd --- /dev/null +++ b/direnv/direnvrc @@ -0,0 +1 @@ +dotenv .env diff --git a/nvim/lua/config/lsp-setup.lua b/nvim/lua/config/lsp-setup.lua index 223497d..f323d64 100644 --- a/nvim/lua/config/lsp-setup.lua +++ b/nvim/lua/config/lsp-setup.lua @@ -24,18 +24,11 @@ local servers = { Kubernetes = { '/*ingress.yaml', '/*deployment.yaml', + '/*statefulset.yaml', '/*configmap.yaml', '/*secret.yaml', '/*kustomization.yaml', '/*service.yaml', - - '/*ingress.yml', - '/*deployment.yml', - '/*configmap.yml', - '/*secret.yml', - '/*kustomization.yml', - '/*service.yml', - }, --['https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.0-standalone-strict/all.json'] = '/*.k8s.yaml', },