feat(lsp): don't kill dev-tools on timeout

This commit is contained in:
2025-06-13 15:28:45 +02:00
parent 40200b5e89
commit e9a591d25d

View File

@@ -1,31 +1,47 @@
---@type LazySpec ---@type LazySpec
return { return {
"AstroNvim/astrolsp", {
---@type AstroLSPOpts "AstroNvim/astrolsp",
opts = { optional = true,
---@diagnostic disable: missing-fields ---@type AstroLSPOpts
config = { opts = {
clangd = { ---@diagnostic disable: missing-fields
filetypes = { "c", "cpp", "objc", "objcpp", "cuda" }, config = {
cmd = { clangd = {
"clangd", filetypes = { "c", "cpp", "objc", "objcpp", "cuda" },
"--header-insertion=never", -- Disable auto includes cmd = {
"--enable-config", -- Enable .clangd and clangd.yaml files "clangd",
"--header-insertion=never", -- Disable auto includes
"--enable-config", -- Enable .clangd and clangd.yaml files
},
},
slint_lsp = {
root_dir = function() end, -- Fix missing root_dir issue in neoconf (lspconfig doesn't define it...)
},
qmlls = {
cmd = { "qmlls6" },
}, },
}, },
slint_lsp = { servers = { "qmlls" },
root_dir = function() end, -- Fix missing root_dir issue in neoconf (lspconfig doesn't define it...) features = {
}, signature_help = true,
qmlls = { inlay_hints = true,
cmd = { "qmlls6" }, codelens = true,
semantic_tokens = true,
}, },
}, },
servers = { "qmlls" }, },
features = { {
signature_help = true, "zeioth/garbage-day.nvim",
inlay_hints = true, optional = true,
codelens = true, opts = {
semantic_tokens = true, excluded_lsp_clients = {
"null-ls",
"jdtls",
"marksman",
"lua_ls",
"dev-tools",
},
}, },
}, },
} }