From d9d1737deb1106c75f33dd14088e37f4ff9bf1fe Mon Sep 17 00:00:00 2001 From: Skylar LK <147355821+SkylarLK@users.noreply.github.com> Date: Thu, 12 Oct 2023 21:33:57 -0400 Subject: [PATCH] docs(cc): future-proof Debian/Ubuntu install instructions The "clangd" package links to the version of clangd associated with that version of the distribution. In Debian 11 it's clangd-11, in 12 it's clangd-14, Ubuntu 22.04 LTS also has clangd-14, and 23.10 seems to have clangd-16. No need to specify the clangd package name for each release. Ref: #7502 --- modules/lang/cc/README.org | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/lang/cc/README.org b/modules/lang/cc/README.org index 158b3fef8..390620545 100644 --- a/modules/lang/cc/README.org +++ b/modules/lang/cc/README.org @@ -75,8 +75,7 @@ recommended. + clangd (must be v9 or newer) :: clangd is included with =llvm= which should be available through your OS' package manager. - Linux: - - Debian 11 & Ubuntu 20.10: ~$ apt-get install clangd-11~ - - 20.04 LTS: [[https://pkgs.org/search/?q=clangd][clangd-10]] + - Debian & Ubuntu: ~$ apt-get install clangd~ - Fedora & CentOS/RHEL 8+: ~$ dnf install clang-tools-extra~ - openSUSE: ~$ zypper install clang~ - Arch: ~$ pacman -S clang~