emacs/old/config/spelling.el
Maciej Szlosarczyk 1a911716c0
Create new, a little bit better structured configuration
* Group configuration by package, and only then by language mode
* Slim down all the languages
2018-09-09 00:31:51 +03:00

18 lines
428 B
EmacsLisp

;;; spelling.el -- summary
;;; Commentary:
;;; Code:
;; Disable meta on right alt (useful for Polish characters)
(setq ns-right-alternate-modifier nil)
(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)
(provide 'spelling)
;;; spelling.el ends here