Rewrote initfiles; bugfixes galore
This commit is contained in:
parent
02863ee529
commit
d5f2bb1d23
9 changed files with 288 additions and 45 deletions
|
@ -3,15 +3,18 @@
|
|||
flyspell ; spell checker
|
||||
))
|
||||
|
||||
(diminish 'flyspell-mode " ?")
|
||||
|
||||
(setq ispell-program-name "aspell")
|
||||
(setq ispell-list-command "--list")
|
||||
(setq flycheck-indication-mode 'right-fringe)
|
||||
|
||||
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
|
||||
|
||||
(add-hook 'prog-mode-hook #'global-flycheck-mode)
|
||||
(add-hook 'text-mode-hook (lambda () (flyspell-mode 1)))
|
||||
(add-hook 'conf-mode-hook (lambda () (flyspell-mode 1)))
|
||||
(add-hook 'after-init-hook (lambda() (global-flycheck-mode 1)))
|
||||
(dolist (hook '(markdown-mode-hook git-commit-mode-hook org-mode-hook))
|
||||
(add-hook hook (lambda() (flyspell-mode 1))))
|
||||
|
||||
|
||||
;;
|
||||
(provide 'mod-fly)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue