From ce49625ec3b5fd0ca238006cde03bfe6ab52f5b6 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 4 Mar 2021 03:23:07 +0100 Subject: [PATCH] Enable clang-tidy --- .config/emacs/config.org | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 69c9ed7..28c960a 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -535,7 +535,12 @@ Language Server Protocol. . lsp-deferred) :custom (lsp-auto-guess-root t) - (lsp-clients-clangd-args '("--compile-commands-dir=build" "-j=2" "--background-index" "--log=error")) + (lsp-clients-clangd-args '("-j=2" + "--background-index" + "--clang-tidy" + "--compile-commands-dir=build" + "--log=error" + "--pch-storage=memory")) (lsp-enable-xref t) (lsp-headerline-breadcrumb-enable nil) (lsp-intelephense-storage-path (concat dot-cache-dir "/lsp-cache"))