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