diff --git a/users/willifan/common/nixvim/lsp.nix b/users/willifan/common/nixvim/lsp.nix index fdbeced..b029b2f 100644 --- a/users/willifan/common/nixvim/lsp.nix +++ b/users/willifan/common/nixvim/lsp.nix @@ -4,42 +4,19 @@ plugins = { lsp-lines = {enable = true;}; lsp-format = {enable = true;}; - helm = {enable = true;}; lsp = { enable = true; inlayHints = true; servers = { + clangd = {enable = true;}; html = {enable = true;}; lua-ls = {enable = true;}; - nil-ls = {enable = true;}; - marksman = {enable = true;}; nixd = {enable = true;}; pyright = {enable = true;}; gopls = {enable = true;}; - terraformls = {enable = true;}; - ansiblels = {enable = true;}; jsonls = {enable = true;}; - yamlls = { - enable = true; - extraOptions = { - settings = { - yaml = { - schemas = { - 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/dependabot-v2" = ".github/dependabot.{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}"; - }; - }; - }; - }; - }; + rust-analyzer = {enable = true;}; + yamlls = {enable = true;}; }; keymaps = {