Commit d2cae94b4139
Changed files (1)
tools
emacs
config
tools/emacs/config/config-editing.el
@@ -158,6 +158,28 @@ Else toggle the comment status of the line at point."
("M-;" . comment-indent)
("C-x C-;" . comment-box)))
+;; UseFlySpell
+(use-package flyspell
+ :commands (flyspell-prog-mode flyspell-mode)
+ :hook((text-mode . flyspell-mode)
+ (prog-mode . flyspell-prog-mode))
+ :config
+ (define-key flyspell-mode-map (kbd "C-;") nil)
+ (setq-default flyspell-issue-message-flag nil
+ flyspell-issue-welcome-flag nil
+ ispell-program-name "hunspell"
+ ispell-local-dictionary "en_GB"
+ ispell-local-dictionary-alist
+ '(("en_GB"
+ "[[:alpha:]]"
+ "[^[:alpha:]]"
+ "[']"
+ nil
+ ("-d" "en_GB,fr_FR")
+ nil
+ utf-8))))
+;; -UseFlySpell
+
(use-package emacs
:init
(setq-default tab-always-indent 'complete