aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-04-15 15:40:13 +0200
committerNicholas Rodrigues Lordello <[email protected]>2026-04-15 15:40:13 +0200
commita2abcd64fdfebc9385acec83793d9d35854661bc (patch)
tree9f8fdd9f3223e9dab159506ab230addca3d4dacd /config
parentaf7a1dceda0dfc29f343f36de677ffe0db2fcfd2 (diff)
Flymake Configuration
Add pretty icons and new bindings for jumping around errors in the buffer. Note that we need a proportional font for this (I don't add the additional space for the pure mono font).
Diffstat (limited to 'config')
-rw-r--r--config/emacs/init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el
index d071437..ce8b5e6 100644
--- a/config/emacs/init.el
+++ b/config/emacs/init.el
@@ -121,6 +121,17 @@
(add-to-list 'eglot-server-programs
'(sol-mode . ("nomicfoundation-solidity-language-server" "--stdio"))))
+(use-package flymake
+ :bind (:map flymake-mode-map
+ ("M-n" . flymake-goto-next-error)
+ ("M-p" . flymake-goto-prev-error))
+ :custom
+ (flymake-indicator-type 'margins)
+ (flymake-margin-indicators-string
+ `((error "" compilation-error)
+ (warning "" compilation-warning)
+ (note "" compilation-info))))
+
(use-package project
:custom
(project-mode-line t)