2024-02-08 10:23:41 +01:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
opts = {
|
2024-06-07 16:54:47 +02:00
|
|
|
diagnostics = {
|
|
|
|
virtual_text = false,
|
|
|
|
},
|
2024-05-23 22:10:11 +02:00
|
|
|
inlay_hints = { enabled = false },
|
|
|
|
-- codelens = {
|
|
|
|
-- enabled = true,
|
|
|
|
-- },
|
2024-02-08 10:23:41 +01:00
|
|
|
servers = {
|
2024-03-03 22:20:57 +01:00
|
|
|
rust_analyzer = {
|
2024-03-25 19:30:23 +01:00
|
|
|
mason = false,
|
2024-05-09 11:16:52 +02:00
|
|
|
-- targetDir = true,
|
|
|
|
-- keys = {
|
|
|
|
-- { "K", "<cmd>RustHoverActions<cr>", desc = "Hover Actions (Rust)" },
|
|
|
|
-- { "<leader>cR", "<cmd>RustCodeAction<cr>", desc = "Code Action (Rust)" },
|
|
|
|
-- { "<leader>dr", "<cmd>RustDebuggables<cr>", desc = "Run Debuggables (Rust)" },
|
|
|
|
-- },
|
2024-03-03 22:20:57 +01:00
|
|
|
},
|
2024-05-10 22:33:44 +02:00
|
|
|
starpls = {},
|
2024-02-08 10:23:41 +01:00
|
|
|
yamlls = {
|
|
|
|
settings = {
|
|
|
|
yaml = {
|
|
|
|
schemas = {
|
2024-03-08 19:53:33 +01:00
|
|
|
-- kubernetes = "*.yaml",
|
2024-02-08 10:23:41 +01:00
|
|
|
["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/chart"] = "Chart.{yml,yaml}",
|
|
|
|
["https://json.schemastore.org/dependabot-v2"] = ".github/dependabot.{yml,yaml}",
|
|
|
|
["https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json"] = "*api*.{yml,yaml}",
|
|
|
|
["https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.29.1/all.json"] = "/*.yaml",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|