Add flymake configuration
This commit is contained in:
parent
49a5164f45
commit
f2dc1fe496
1 changed files with 19 additions and 0 deletions
19
config.org
19
config.org
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue