Moved LSP configs to new lsp/ folder, moved lsp config to seperate fiel, and simplified mason tool installer config

This commit is contained in:
2025-05-31 01:03:21 +02:00
parent 6c49b81f5a
commit 2e4796d7a7
18 changed files with 270 additions and 379 deletions

View File

@@ -41,19 +41,9 @@ return {
init = function()
vim.keymap.set(
"n",
"<leader>ss",
"<leader>ys",
require("telescope").extensions.schema_companion.select_schema,
{ desc = "Select schema" }
)
vim.lsp.config(
"yamlls",
require("schema-companion").setup_client({
single_file_support = true,
settings = {
yaml = {},
},
})
{ desc = "Yaml schema" }
)
end,
--- @module "schema-companion"