diff options
| author | Raul Benencia <id@rbenencia.name> | 2026-08-11 22:40:21 -0700 |
|---|---|---|
| committer | Raul Benencia <id@rbenencia.name> | 2026-08-11 22:48:29 -0700 |
| commit | c3fc90c677d1f010cb012d54eb20b0b78e1de392 (patch) | |
| tree | 53ec7651df3dfe302ed36d117cd53a794caa3deb /.emacs.d/rul-lisp/packages | |
| parent | 402308613cbde3b9a0974ee151f3d2507f0eed05 (diff) | |
emacs: drop the flycheck stack in favour of built-in flymake
Nothing ever enabled flycheck-mode, so the proselint checker and the
languagetool backend were dormant: the latter also needed a docker
container that never got past a TODO. Emacs ships flymake and
consult-flymake is already bound, so add flymake-proselint if prose
linting is wanted again. Removes the flycheck and flycheck-languagetool
dependencies.
Diffstat (limited to '.emacs.d/rul-lisp/packages')
| -rw-r--r-- | .emacs.d/rul-lisp/packages/rul-write.el | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-write.el b/.emacs.d/rul-lisp/packages/rul-write.el index 7d37e95..2fc3d30 100644 --- a/.emacs.d/rul-lisp/packages/rul-write.el +++ b/.emacs.d/rul-lisp/packages/rul-write.el @@ -53,30 +53,6 @@ (setq-local olivetti-body-width 100) (olivetti-mode 1))) -;; Flycheck -(use-package flycheck - :ensure t - :config - -(flycheck-define-checker proselint - "A linter for prose." - :command ("proselint" source-inplace) - :error-patterns - ((warning line-start (file-name) ":" line ":" column ": " - (id (one-or-more (not (any " ")))) - (message) line-end)) - :modes (text-mode markdown-mode gfm-mode org-mode)) - -(add-to-list 'flycheck-checkers 'proselint) - -;; TODO: docker run --rm -p 8010:8010 erikvl87/languagetool -(use-package flycheck-languagetool - :ensure t - :hook (message-mode . flycheck-languagetool-setup) - :init - (setq flycheck-languagetool-url "http://localhost:8010") -)) - ;; Flyspell (defcustom flyspell-delayed-commands nil "List of commands that are \"delayed\" for Flyspell mode. |
