emacs/lisp/icejam-ispell.el
Maciej Szlosarczyk b0361861b4
Some checks failed
/ Test config on 20 (push) Failing after 53s
Further housekeeping, bring the initial load down to under 1500 ms
Make the editor load faster by deferring as much as possible until
later use. For example, LSP load is now deferred until first use and
no longer blocking.

Use only elixir-format from elixir-mode, for similar speed
reasons. The rest of the package has been taken over by the treesitter
version of the mode.
2025-01-05 08:07:18 +02:00

24 lines
785 B
EmacsLisp

;;; pkg/ispell -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Highlight misspelled words
;;; Code:
(use-package ispell :ensure nil :defer t
:config
(setopt ispell-program-name "aspell")
(setopt ispell-extra-args '("--run-together" "--run-together-limit=5" "--run-together-min=2")))
(use-package flyspell :ensure nil
:hook ((prog-mode . flyspell-mode)
(text-mode . flyspell-mode)
(markdown-mode . flyspell-mode))
:config
(unbind-key "C-," flyspell-mode-map)
(unbind-key "C-." flyspell-mode-map)
(unbind-key "C-;" flyspell-mode-map)
(unbind-key "C-c $" flyspell-mode-map)
(unbind-key "C-M-i" flyspell-mode-map))
(use-package flyspell-correct :ensure t :after flyspell :defer t)
(provide 'icejam-ispell)
;;; icejam-ispell.el ends here