30845199b5
* mod-ac: fuzzy and unintrusive auto-complete * mod-fly: on-the-fly syntax and spell checking * mod-git: git-gutter and git-related modes
17 lines
462 B
EmacsLisp
17 lines
462 B
EmacsLisp
(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)
|