npx claudepluginhub lazygophers/ccplugin --plugin cThis LSP server requires clangdto be installed on your system. Make sure it's available in your PATH before enabling.
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"c": {
"command": "clangd",
"extensionToLanguage": {
".c": "c",
".h": "c"
},
"args": [
"--background-index",
"--clang-tidy",
"--header-insertion=iwyu",
"--completion-style=detailed",
"--function-arg-placeholders",
"--fallback-style=llvm"
]
}
}
}clangdstdioInitialization Options:
{
"clangd.path": "clangd",
"clangd.arguments": [
"--background-index",
"--clang-tidy",
"--header-insertion=iwyu",
"--completion-style=detailed",
"--function-arg-placeholders"
]
}Settings:
{
"clangd.path": "clangd",
"clangd.arguments": [
"--background-index",
"--clang-tidy",
"--header-insertion=iwyu",
"--completion-style=detailed",
"--function-arg-placeholders",
"--fallback-style=llvm",
"--format-style=file"
]
}