Add flymake config
This commit is contained in:
parent
20a3d96799
commit
cf2bae52ef
@ -44,6 +44,21 @@
|
||||
:custom
|
||||
(xref-prompt-for-identifier nil))
|
||||
|
||||
;; Inline syntax checking
|
||||
(use-package flymake
|
||||
:straight (:type built-in)
|
||||
:config
|
||||
(defvar flymake-map (make-sparse-keymap)
|
||||
"Keymap for flymake commands.")
|
||||
(general-def flymake-map
|
||||
"n" #'flymake-goto-next-error
|
||||
"p" #'flymake-goto-prev-error
|
||||
"l" #'flymake-show-diagnostics-buffer
|
||||
"a" #'flymake-show-project-diagnostics)
|
||||
(leader-def-key "e" flymake-map)
|
||||
:hook (prog-mode . flymake-mode))
|
||||
|
||||
|
||||
(use-package eglot
|
||||
:commands (eglot)
|
||||
:config
|
||||
|
Loading…
Reference in New Issue
Block a user