General cleanup

This commit is contained in:
Henrik Lissner 2016-06-18 01:30:12 -04:00
parent c40cfaa5cd
commit 8638eb710f
9 changed files with 38 additions and 41 deletions

View file

@ -7,7 +7,10 @@
;; Removed checks on idle/change for snappiness
flycheck-check-syntax-automatically '(save mode-enabled)
flycheck-highlighting-mode 'symbols
flycheck-disabled-checkers '(emacs-lisp emacs-lisp-checkdoc make))
flycheck-disabled-checkers '(emacs-lisp emacs-lisp-checkdoc make)
;; `flycheck-pos-tip'
flycheck-pos-tip-timeout 10
flycheck-display-errors-delay 0.5)
:config
(def-popup! " ?\\*Flycheck.+\\*" :align below :size 14 :noselect t :regexp t)
@ -23,19 +26,14 @@
(advice-add 'evil-force-normal-state :after 'doom*flycheck-buffer)
(define-fringe-bitmap 'flycheck-fringe-bitmap-double-arrow
[0 0 0 0 0 4 12 28 60 124 252 124 60 28 12 4 0 0 0 0]))
[0 0 0 0 0 4 12 28 60 124 252 124 60 28 12 4 0 0 0 0])
(use-package flycheck-package
:after flycheck
:config (flycheck-package-setup))
(require 'flycheck-package)
(flycheck-package-setup)
(use-package flycheck-pos-tip
:when (eq window-system 'mac) ; NOTE emacs-mac, not ns
:after flycheck
:config
(setq flycheck-pos-tip-timeout 10
flycheck-display-errors-delay 0.5)
(flycheck-pos-tip-mode +1))
(when (eq window-system 'mac)
(require 'flycheck-pos-tip)
(flycheck-pos-tip-mode +1)))
(use-package flyspell :commands flyspell-mode)