aboutsummaryrefslogtreecommitdiff
path: root/emacs/emacs.el
diff options
context:
space:
mode:
authorAlex <alex.corcoles@veecle.io>2025-02-28 19:30:19 +0100
committeralexpdp7 <alex@corcoles.net>2025-02-28 19:34:43 +0100
commitabf452d3884de3a9ada37c508c48669a77fc730f (patch)
tree3d4515fc02c418aa43a66cdbd1a8c773987a77b9 /emacs/emacs.el
parent1dc8e4feb5a44def145f13d947f10c3217cd0dfc (diff)
Add Vale spell checking, including Rust code
* Use built-in support of use-package for Git repos * Modernize the Emacs RH configuration
Diffstat (limited to 'emacs/emacs.el')
-rw-r--r--emacs/emacs.el8
1 files changed, 8 insertions, 0 deletions
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)
+ )