mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
Refactor initfiles
This commit is contained in:
@@ -3,18 +3,20 @@
|
||||
flyspell ; spell checker
|
||||
))
|
||||
|
||||
;;;#flyspell
|
||||
(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 '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))))
|
||||
|
||||
;;;#flycheck
|
||||
;; Removed checks on idle/change for snappiness
|
||||
(setq flycheck-check-syntax-automatically '(save new-line mode-enabled))
|
||||
(setq flycheck-indication-mode 'right-fringe)
|
||||
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
|
||||
|
||||
(global-flycheck-mode 1)
|
||||
|
||||
;;
|
||||
(provide 'mod-fly)
|
||||
|
Reference in New Issue
Block a user