From 9e9d136cd80e9fe1868cdcb9871e742a79a04f86 Mon Sep 17 00:00:00 2001 From: laurensmiers Date: Sun, 6 Mar 2016 21:05:16 +0100 Subject: [PATCH] Set flycheck as required package + include it in the demo packages --- README.md | 2 ++ init.el | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 689e91a..21e892a 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,5 @@ My personal emacs configuration It is mostly based on tuhdo's emacs ide demo: https://github.com/tuhdo/emacs-c-ide-demo + +This configuration requires the installation of the GNU global package (for gtags). diff --git a/init.el b/init.el index 3f87bdc..62c7b2c 100755 --- a/init.el +++ b/init.el @@ -33,6 +33,7 @@ projectile volatile-highlights undo-tree + flycheck zygospore)) (defun install-packages () @@ -60,6 +61,10 @@ (windmove-default-keybindings) +;; flycheck +(require 'flycheck) +(add-hook 'after-init-hook #'global-flycheck-mode) + ;; function-args (require 'function-args) (fa-config-default) @@ -198,6 +203,5 @@ ) (global-set-key (kbd "C-x C-f") 'helm-find-files) -(add-hook 'after-init-hook #'global-flycheck-mode) (load-theme 'manoj-dark)