Flycheck: better evil-mode + fringe integration
This commit is contained in:
parent
a13ca18462
commit
533a307043
2 changed files with 7 additions and 3 deletions
|
@ -4,14 +4,17 @@
|
|||
(use-package flycheck
|
||||
:commands (flycheck-mode flycheck-list-errors flycheck-buffer)
|
||||
:init
|
||||
(setq flycheck-indication-mode nil
|
||||
(setq flycheck-indication-mode 'right-fringe
|
||||
;; 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))
|
||||
:config
|
||||
(bind! :map flycheck-error-list-mode-map
|
||||
: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)
|
||||
|
||||
|
|
|
@ -142,6 +142,7 @@
|
|||
("*helm-ag-edit*" :position bottom :height 20 :stick t)
|
||||
(help-mode :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)
|
||||
("^\\*Org-Babel.*\\*$" :regexp t :position bottom :height 15)
|
||||
("^\\*Org .*\\*$" :regexp t :position bottom :height 15)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue