Skip installation checks for clangd server if it has already been set up locally. #778
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In Arch Linux
clangdcomes as a part of the clang package.After successful installation the binaries are placed into
/usr/binlike this:lrwxrwxrwx 1 root root 8 Oct 3 19:11 clang -> clang-18 -rwxr-xr-x 1 root root 143K Oct 3 19:11 clang-18 -rwxr-xr-x 1 root root 25M Oct 3 19:11 clangd -rwxr-xr-x 1 root root 99K Oct 3 19:11 clang-format ...which makes
clangdreadily available:Currently the
clangdLSP server installation script expects localclangdbinaries to be named like "clangd-X", which isn't always the case as shown above. This aborts LSP server installation with the following message "Could not find an installable clangd release!"This PR bypasses the check when
clangdis set up allowing LSP server installation to complete successfully.