First version of use-package

This commit is contained in:
Maciej 2019-07-16 21:04:35 +03:00
parent 42ff73fdd7
commit fca83b0b97
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
15 changed files with 214 additions and 197 deletions

View file

@ -1,6 +1,7 @@
(require 'ispell)
;; Highlight misspelled words
(setq ispell-program-name "aspell")
(setq ispell-extra-args
'("--run-together" "--run-together-limit=5" "--run-together-min=2"))
(add-hook 'prog-mode-hook 'flyspell-mode)
(use-package ispell
:ensure t
:config (setq ispell-program-name "aspell")
(setq ispell-extra-args
'("--run-together" "--run-together-limit=5" "--run-together-min=2"))
:hook ((prog-mode text-mode) . flyspell-mode))