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)
This commit is contained in:
2020-06-03 22:24:55 +02:00
commit dfd4317d2d
27 changed files with 7147 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
;;; 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