Add flymake configuration

This commit is contained in:
Laurens Miers 2025-05-25 17:26:30 +02:00
parent 49a5164f45
commit f2dc1fe496

View file

@ -191,6 +191,25 @@ Inspired by [[https://github.com/LionyxML/emacs-solo][emacs-solo]]:
Reference that might be interesting for later: Reference that might be interesting for later:
https://endlessparentheses.com/leave-the-cursor-at-start-of-match-after-isearch.html https://endlessparentheses.com/leave-the-cursor-at-start-of-match-after-isearch.html
** Flymake
#+BEGIN_SRC emacs-lisp
(use-package flymake
:ensure nil
:defer t
:hook
(prog-mode-hook . flymake-mode)
:custom
(flymake-show-diagnostics-at-end-of-line 'short)
(flymake-indicator-type 'margins)
(flymake-margin-indicators-string
`((error "!" compilation-error)
(warning "?" compilation-warning)
(note "i" compilation-info))
)
)
#+END_SRC
** Abbrev ** Abbrev
#+begin_src emacs-lisp #+begin_src emacs-lisp