From c3fc90c677d1f010cb012d54eb20b0b78e1de392 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Tue, 11 Aug 2026 22:40:21 -0700 Subject: 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. --- .emacs.d/rul-lisp/packages/rul-write.el | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to '.emacs.d/rul-lisp/packages/rul-write.el') 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. -- cgit v1.2.3