Emacs: Disable flycheck-clang-tidy if clang >= 9 is detected.
This commit is contained in:
parent
9264bbe33a
commit
c42cb09db7
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue
Block a user