Files
emacs.d/site-start.d/105-flycheck.el
Ralf Zerres dfd4317d2d emacs.d: initial config version
- starting init.el
  just basics (package, use-package, path-handlin)
- include my-site-start.el
  that includes site-start.d directory and imports
  all *.el files in lexical order
- functionality is imported via use-package inside
  the *.el file
  (first run: internet connection is needed to MELPA)
2020-06-03 22:24:55 +02:00

23 lines
645 B
EmacsLisp

;;; 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