sublimelsp/LSP-clangd

Project level "binary" is not applied properly

skotopes opened this issue · 0 comments

I'd like to have custom clangd binary in the project, however project level configuration("binary") is ignored.
It will be nice to have ability to override "binary" on project level.

Project example:

{
    "folders":
    [
        {
            "path": ".",
        }
    ],
    "settings": {
        "LSP": {
            "clangd": {
                "enabled": true,
                "binary": "custom",
                "initializationOptions": {
                    "custom_command": ["toolchain/current/bin/clangd"],

                    "clangd.compile-commands-dir": "build/latest",
                    "clangd.header-insertion": "never",
                    "clangd.query-driver": "**/arm-none-eabi-*",
                    "clangd.clang-tidy": true,
                },
            },
        },
   },
}