;;; 105-flycheck.el --- on-the-fly syntax checking ;;; Commentary: ;; Flycheck is a modern on-the-fly syntax checking extension for GNU Emacs ;;; Code: (use-package flycheck :ensure t :init ;; enables syntax checking for every supported language (global-flycheck-mode)) ;; Force flycheck to always use c++11 support. We use ;; the clang language backend so this is set to clang ;;(add-hook 'c++-mode-hook ;; (lambda () (setq flycheck-clang-language-standard "c++11"))) ;; Use flycheck-pyflakes for python. Seems to work a little better. ;;(require 'flycheck-pyflakes) (provide '105-flycheck) ;;; 105-flycheck.el ends here