Skip to content
Fangrui Song edited this page Aug 6, 2021 · 1 revision

LSP.sublime-settings

{
    "clients":
    {
        "cc-langserver":
        {
            "command": ["/Users/tim/Downloads/github/ccls/build/Release/ccls"],
            "enabled": false,
            "languages": [
            {
                "scopes": ["source.c"],
                "syntaxes": ["Packages/C++/C.sublime-syntax"],
                "languageId": "c"
            },
            {
                "scopes": ["source.c++"],
                "syntaxes": ["Packages/C++/C++.sublime-syntax"],
                "languageId": "cpp"
            },
            {
                "scopes": ["source.objc"],
                "syntaxes": ["Packages/Objective-C/Objective-C.sublime-syntax"],
                "languageId": "objective-c"
            },
            {
                "scopes": ["source.objc++"],
                "syntaxes": ["Packages/Objective-C/Objective-C++.sublime-syntax"],
                "languageId": "objective-cpp"
            }],
            "initializationOptions":
            {
                "cache":
                {
                    "directory": "/tmp/ccls-cache"
                },
                "completion":
                {
                    "detailedLabel": true
                },
                "clang":
                {
                    "extraArgs": [
                        "-isystem",
                        "/Library/Developer/CommandLineTools/usr/include/c++/v1"
                    ],
                    "resourceDir": "/usr/local/Cellar/llvm/12.0.1/lib/clang/12.0.1"
                }
            }
        }
    }
}
Clone this wiki locally