23 lines
689 B
EmacsLisp
23 lines
689 B
EmacsLisp
|
(mapc 'my/install-package '(flycheck flyspell))
|
||
|
|
||
|
(use-package flycheck
|
||
|
:commands global-flycheck-mode
|
||
|
:diminish (flycheck-mode . " !")
|
||
|
:init (add-hook 'after-init-hook #'global-flycheck-mode)
|
||
|
:config
|
||
|
(progn
|
||
|
;; Removed checks on idle/change for snappiness
|
||
|
(setq flycheck-check-syntax-automatically '(save new-line mode-enabled))
|
||
|
(setq flycheck-indication-mode 'right-fringe)
|
||
|
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))))
|
||
|
|
||
|
(use-package flyspell
|
||
|
:commands flyspell-mode
|
||
|
:diminish (flyspell-mode . " @")
|
||
|
:config
|
||
|
(setq ispell-program-name "aspell"
|
||
|
ispell-list-command "--list"))
|
||
|
|
||
|
;;
|
||
|
(provide 'init-fly)
|