2024-06-01 15:20:51 +03:00
|
|
|
{
|
|
|
|
"folders":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"path": ".",
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"settings": {
|
2024-07-16 17:41:30 +03:00
|
|
|
"LSP": {
|
|
|
|
"clangd": {
|
2024-06-01 15:20:51 +03:00
|
|
|
"enabled": true,
|
2024-07-16 17:41:30 +03:00
|
|
|
"initializationOptions": {
|
|
|
|
// Set `"binary": "custom",` option in LSP-clangd config to use toolchain clangd
|
2024-07-30 05:30:25 +03:00
|
|
|
"custom_command": ["toolchain/current/bin/clangd"],
|
2024-07-16 17:41:30 +03:00
|
|
|
"clangd.compile-commands-dir": "build/latest",
|
|
|
|
"clangd.header-insertion": "never",
|
|
|
|
"clangd.query-driver": "**/arm-none-eabi-*",
|
|
|
|
"clangd.clang-tidy": true,
|
|
|
|
},
|
2024-06-01 15:20:51 +03:00
|
|
|
},
|
2024-07-16 17:41:30 +03:00
|
|
|
},
|
2024-06-01 15:20:51 +03:00
|
|
|
},
|
|
|
|
}
|