From abf452d3884de3a9ada37c508c48669a77fc730f Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 28 Feb 2025 19:30:19 +0100 Subject: Add Vale spell checking, including Rust code * Use built-in support of use-package for Git repos * Modernize the Emacs RH configuration --- emacs/emacs.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'emacs/emacs.el') diff --git a/emacs/emacs.el b/emacs/emacs.el index 0e6713f9..860e7b77 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -155,3 +155,11 @@ (setq prolog-system 'swi) (setq auto-mode-alist (append '(("\\.pl\\'" . prolog-mode)) auto-mode-alist)) + +(use-package flymake-vale + :vc (:url "https://github.com/tpeacock19/flymake-vale.git" + :rev :newest) + :config + (add-to-list 'flymake-vale-modes 'rust-mode) + (add-hook 'find-file-hook 'flymake-vale-maybe-load) + ) -- cgit v1.2.3