Opencode lsp working
This commit is contained in:
parent
a52f82d67b
commit
9f33bcd017
2 changed files with 21 additions and 0 deletions
19
opencode.json
Normal file
19
opencode.json
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"lsp": {
|
||||
"clangd": {
|
||||
"command": [
|
||||
"/home/linuxbrew/.linuxbrew/bin/clangd",
|
||||
"--query-driver=/home/linuxbrew/.linuxbrew/bin/g++",
|
||||
"--background-index",
|
||||
"--clang-tidy"
|
||||
],
|
||||
"extensions": [".cpp", ".hpp", ".c", ".h", ".cc", ".cxx", ".hxx"],
|
||||
"env": {
|
||||
"PATH": "/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin",
|
||||
"PKG_CONFIG_PATH": "/home/linuxbrew/.linuxbrew/lib/pkgconfig:/home/linuxbrew/.linuxbrew/share/pkgconfig",
|
||||
"CPLUS_INCLUDE_PATH": "/var/home/linuxbrew/.linuxbrew/Cellar/gcc/15.2.0/include/c++/15:/var/home/linuxbrew/.linuxbrew/Cellar/gcc/15.2.0/include/c++/15/x86_64-pc-linux-gnu"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue