26 lines
773 B
Lua
26 lines
773 B
Lua
---@type LazySpec
|
|
return {
|
|
"AstroNvim/astrolsp",
|
|
---@type AstroLSPOpts
|
|
opts = {
|
|
---@diagnostic disable: missing-fields
|
|
config = {
|
|
clangd = {
|
|
filetypes = { "c", "cpp", "objc", "objcpp", "cuda" },
|
|
cmd = {
|
|
"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" },
|
|
},
|
|
},
|
|
servers = { "qmlls" },
|
|
},
|
|
}
|