diff --git a/init.d/programming/c++.el b/init.d/programming/c++.el index af8ae68..a2abf3b 100644 --- a/init.d/programming/c++.el +++ b/init.d/programming/c++.el @@ -1,6 +1,6 @@ ;;; c++.el --- C++ settings. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-01-20T19:27:36+0100> +;; Time-stamp: <2020-01-26T02:35:47+0100> ;;; Commentary: @@ -14,6 +14,8 @@ :pin melpa :after (flycheck projectile lsp-ui) :if (executable-find "clang-tidy") + ;; clang-tidy is built into clangd >= 9. + :if (< (cdr (company-clang-version)) 9.0) :config (defun my/clang-tidy-off () "Disable c/c++-clang-tidy."