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

@@ -0,0 +1,3 @@
return {
cmd = { "clangd", "--offset-encoding=utf-16", "--clang-tidy" },
}

View File

@@ -0,0 +1,8 @@
return {
settings = {
json = {
validate = { enable = true },
schemas = require("schemastore").json.schemas(),
},
},
}

View File

@@ -0,0 +1,8 @@
return {
settings = {
Lua = {
workspace = { checkThirdParty = false },
telemetry = { enable = false },
},
},
}

View File

@@ -0,0 +1,9 @@
return {
settings = {
["rust-analyzer"] = {
check = {
command = "clippy",
},
},
},
}

View File

@@ -0,0 +1,5 @@
return {
init_options = {
diagnosticSeverity = "Hint",
},
}

View File

@@ -0,0 +1,8 @@
return require("schema-companion").setup_client({
settings = {
yaml = {
schemastore = { enable = false, url = "" },
schemas = require("schemastore").yaml.schemas(),
},
},
})