Add flyckeck to prog mode
This commit is contained in:
parent
58b79e0a74
commit
1426dfecd7
3 changed files with 4 additions and 1 deletions
|
|
@ -6,9 +6,10 @@
|
|||
;; 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")
|
||||
(flyspell-mode 1)
|
||||
(add-hook 'prog-mode-hook 'flyspell-mode)
|
||||
(provide 'spelling)
|
||||
|
||||
;;; spelling.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue