I am actively using
flyspell on all text files under
For example: Under
requirements.txt text file I am keeping my python packages where I do not need to enable
flyspell. But since it is a text file flyspell keep does its checks. So I want to disable flyspell for specific file names like:
requirements.txt and so on. It also enable in
yaml-mode even I did not enable it.
(flyspell-mode 1) (setq flyspell-issue-message-flag nil ispell-local-dictionary "en_US" ispell-program-name "aspell" ispell-extra-args '("--sug-mode=ultra")) (dolist (hook '(text-mode-hook)) (add-hook hook (lambda () (flyspell-mode 1)))) (dolist (hook '(change-log-mode-hook log-edit-mode-hook)) (add-hook hook (lambda () (flyspell-mode -1))))