Skip to content

Commit

Permalink
Skip installation checks for clangd server if it has already been
Browse files Browse the repository at this point in the history
set up locally.
  • Loading branch information
EugeneSqr authored and mattn committed Oct 21, 2024
1 parent f081acc commit a76adeb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions installer/install-clangd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ filename() {
}

# Search for local clangd in PATH
if which "clangd" >/dev/null; then
exit 0
fi
for llvm_version in $(seq 30 -1 9); do
cmd="clangd-$llvm_version"
if which "$cmd" >/dev/null; then
Expand Down

0 comments on commit a76adeb

Please sign in to comment.