From e687d5377fc4938b246f3b3b689158865dee3bf9 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 10 Apr 2020 20:13:44 +0200 Subject: [PATCH] Disable Flycheck for C/C++ --- config.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config.org b/config.org index 6934d1a..a2b0bbd 100644 --- a/config.org +++ b/config.org @@ -98,6 +98,14 @@ Setup the default format for C/C++ editing. (setq c-basic-offset 2) #+END_SRC +Flycheck never works well for C / C++ without configuration or a CMake build +system. Let's disable it. + +#+BEGIN_SRC emacs-lisp +(after! flycheck + (setq flycheck-global-modes '(not c-mode c++-mode))) +#+END_SRC + * Org mode Doom replaces the default tab behavior on headings, this restores the default