Rewrote core initfiles: add mod-ac, mod-fly & mod-git

* mod-ac: fuzzy and unintrusive auto-complete
* mod-fly: on-the-fly syntax and spell checking
* mod-git: git-gutter and git-related modes
This commit is contained in:
Henrik Lissner 2014-07-17 02:59:23 -04:00
parent b53dfd6369
commit 30845199b5
12 changed files with 224 additions and 191 deletions

17
modules/mod-fly.el Normal file
View file

@ -0,0 +1,17 @@
(require-packages
'(flycheck ; syntax checker
flyspell ; spell checker
))
(setq ispell-program-name "aspell")
(setq ispell-list-command "--list")
(setq flycheck-indication-mode 'right-fringe)
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
(add-hook 'prog-mode-hook #'global-flycheck-mode)
(add-hook 'text-mode-hook (lambda () (flyspell-mode 1)))
(add-hook 'conf-mode-hook (lambda () (flyspell-mode 1)))
;;
(provide 'mod-fly)