summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el
index 7e67c24..bcab4e8 100644
--- a/init.el
+++ b/init.el
@@ -326,6 +326,13 @@
 ;; UXNTAL
 (straight-use-package 'uxntal-mode)
 
+;; FLYCHECK
+(straight-use-package 'flycheck)
+(global-flycheck-mode)
+(straight-use-package 'exec-path-from-shell)
+(exec-path-from-shell-initialize)
+(add-hook 'after-init-hook #'global-flycheck-mode)
+
 ;; FLYSPELL
 (dolist (hook '(text-mode-hook))
   (add-hook hook (lambda () (flyspell-mode 1))))