Set flycheck as required package + include it in the demo packages
This commit is contained in:
parent
5d965dc842
commit
9e9d136cd8
2 changed files with 7 additions and 1 deletions
|
|
@ -2,3 +2,5 @@
|
||||||
My personal emacs configuration
|
My personal emacs configuration
|
||||||
|
|
||||||
It is mostly based on tuhdo's emacs ide demo: https://github.com/tuhdo/emacs-c-ide-demo
|
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).
|
||||||
|
|
|
||||||
6
init.el
6
init.el
|
|
@ -33,6 +33,7 @@
|
||||||
projectile
|
projectile
|
||||||
volatile-highlights
|
volatile-highlights
|
||||||
undo-tree
|
undo-tree
|
||||||
|
flycheck
|
||||||
zygospore))
|
zygospore))
|
||||||
|
|
||||||
(defun install-packages ()
|
(defun install-packages ()
|
||||||
|
|
@ -60,6 +61,10 @@
|
||||||
|
|
||||||
(windmove-default-keybindings)
|
(windmove-default-keybindings)
|
||||||
|
|
||||||
|
;; flycheck
|
||||||
|
(require 'flycheck)
|
||||||
|
(add-hook 'after-init-hook #'global-flycheck-mode)
|
||||||
|
|
||||||
;; function-args
|
;; function-args
|
||||||
(require 'function-args)
|
(require 'function-args)
|
||||||
(fa-config-default)
|
(fa-config-default)
|
||||||
|
|
@ -198,6 +203,5 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(global-set-key (kbd "C-x C-f") 'helm-find-files)
|
(global-set-key (kbd "C-x C-f") 'helm-find-files)
|
||||||
(add-hook 'after-init-hook #'global-flycheck-mode)
|
|
||||||
|
|
||||||
(load-theme 'manoj-dark)
|
(load-theme 'manoj-dark)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue