summaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2020-05-31 12:45:33 -0500
committerBobby Bingham <koorogi@koorogi.info>2021-02-06 10:39:37 -0600
commit4f785266d1444b74b78ab527dddbc6caeff908a5 (patch)
tree6c58fc531aa54b43f4659ce15390a8b3674250be /emacs/.emacs.d/init.el
parent5ab1f7937fa4447a996414617e9be19692627380 (diff)
emacs: use flycheck
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 75e75dd..9b33d78 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -43,6 +43,19 @@
enable-recursive-minibuffers t)
(ivy-mode 1))
+(use-package flycheck
+ :ensure t
+ :config
+ (add-to-list 'display-buffer-alist
+ `(,(rx bos "*Flycheck errors*" eos)
+ (display-buffer-reuse-window
+ display-buffer-in-side-window)
+ (side . bottom)
+ (reusable-frames . visible)
+ (window-height . 0.33)))
+ :init
+ (global-flycheck-mode))
+
;; --- ORG MODE ---
(use-package org-ql
:demand t