summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2025-01-11 12:01:23 +0800
committernoa2025-01-11 12:01:23 +0800
commitd29b0f6eacccc9564922153be27f71cb53442a05 (patch)
tree54adffd1ac106e92788832b7e7880c9173237a0a /emacs
parent4e5dff98569d71a9da2466ce397b78638930a25c (diff)
Enable flymake
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 14e8176..54ef4ba 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -246,6 +246,9 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
   (goto-address-url-face 'link)
   (goto-address-url-mouse-face 'highlight))
 
+(use-package flymake
+  :hook (prog-mode . flymake-mode))
+
 ;; Use a bar cursor and blink it and don't stop blinking it.
 (setopt cursor-type 'bar
         blink-cursor-mode t