mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-28 16:51:08 -05:00
Flycheck: better evil-mode + fringe integration
This commit is contained in:
@@ -4,14 +4,17 @@
|
|||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
:commands (flycheck-mode flycheck-list-errors flycheck-buffer)
|
:commands (flycheck-mode flycheck-list-errors flycheck-buffer)
|
||||||
:init
|
:init
|
||||||
(setq flycheck-indication-mode nil
|
(setq flycheck-indication-mode 'right-fringe
|
||||||
;; Removed checks on idle/change for snappiness
|
;; Removed checks on idle/change for snappiness
|
||||||
flycheck-check-syntax-automatically '(save mode-enabled idle-change)
|
flycheck-check-syntax-automatically '(save mode-enabled)
|
||||||
flycheck-disabled-checkers '(emacs-lisp-checkdoc make))
|
flycheck-disabled-checkers '(emacs-lisp-checkdoc make))
|
||||||
:config
|
:config
|
||||||
(bind! :map flycheck-error-list-mode-map
|
(bind! :map flycheck-error-list-mode-map
|
||||||
:n [escape] 'kill-this-buffer
|
:n [escape] 'kill-this-buffer
|
||||||
:n "q" 'kill-this-buffer)
|
:n "q" 'kill-this-buffer
|
||||||
|
:n "C-n" 'flycheck-error-list-next-error
|
||||||
|
:n "C-p" 'flycheck-error-list-previous-error
|
||||||
|
:n "RET" 'flycheck-error-list-goto-error)
|
||||||
|
|
||||||
(evil-initial-state 'flycheck-error-list-mode 'emacs)
|
(evil-initial-state 'flycheck-error-list-mode 'emacs)
|
||||||
|
|
||||||
|
@@ -142,6 +142,7 @@
|
|||||||
("*helm-ag-edit*" :position bottom :height 20 :stick t)
|
("*helm-ag-edit*" :position bottom :height 20 :stick t)
|
||||||
(help-mode :position bottom :height 15 :stick t)
|
(help-mode :position bottom :height 15 :stick t)
|
||||||
("*Backtrace*" :position bottom :height 15 :stick t)
|
("*Backtrace*" :position bottom :height 15 :stick t)
|
||||||
|
("*Flycheck errors*" :position bottom :height 15 :stick t)
|
||||||
("^\\*[Hh]elm.*?\\*\\'" :regexp t :position bottom :height 15)
|
("^\\*[Hh]elm.*?\\*\\'" :regexp t :position bottom :height 15)
|
||||||
("^\\*Org-Babel.*\\*$" :regexp t :position bottom :height 15)
|
("^\\*Org-Babel.*\\*$" :regexp t :position bottom :height 15)
|
||||||
("^\\*Org .*\\*$" :regexp t :position bottom :height 15)
|
("^\\*Org .*\\*$" :regexp t :position bottom :height 15)
|
||||||
|
Reference in New Issue
Block a user