Update flyspell mode settings
This commit is contained in:
parent
719693bc5b
commit
0a3d9ef245
4 changed files with 51 additions and 31 deletions
|
|
@ -42,9 +42,9 @@
|
|||
;; Call LSP-UI hook
|
||||
(+custom-set-lsp-ui-font-hook))
|
||||
|
||||
;; (defvar +custom-font "Iosevka Term")
|
||||
(defvar +custom-font "Iosevka Term")
|
||||
;; (defvar +custom-font "JetBrains Mono")
|
||||
(defvar +custom-font "JuliaMono")
|
||||
;; (defvar +custom-font "JuliaMono")
|
||||
;; (defvar +custom-font "Victor Mono")
|
||||
;; (defvar +custom-font "IBM Plex Mono")
|
||||
(defvar +custom-font-size 14)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
:config (setq ispell-program-name "aspell")
|
||||
(setq ispell-extra-args
|
||||
'("--run-together" "--run-together-limit=5" "--run-together-min=2"))
|
||||
:hook ((prog-mode text-mode) . flyspell-mode))
|
||||
:hook ((prog-mode text-mode markdown-mode) . flyspell-mode))
|
||||
|
||||
(add-hook 'flyspell-mode-hook (lambda ()
|
||||
(unbind-key "C-," flyspell-mode-map)
|
||||
|
|
@ -17,5 +17,8 @@
|
|||
(unbind-key "C-c $" flyspell-mode-map)
|
||||
(unbind-key "C-M-i" flyspell-mode-map)))
|
||||
|
||||
(use-package flyspell-correct :straight t :after flyspell :defer t)
|
||||
(use-package flyspell-correct-ivy :after flyspell-correct)
|
||||
|
||||
(provide '+custom-pkg-ispell)
|
||||
;;; ispell.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue