summary refs log tree commit diff stats
diff options
context:
space:
mode:
authoreli <eli@newstartmobile.com>2023-01-05 13:18:36 -0500
committereli <eli@newstartmobile.com>2023-01-05 13:18:36 -0500
commit530230fed60dc343c7fb454fa01f7346ce5b65b1 (patch)
tree4e56375aa135d01006df3fe1669560c01ce5111a
parent7324bec3d0893431f34d23460cd47ef08d671add (diff)
downloademacs-530230fed60dc343c7fb454fa01f7346ce5b65b1.tar.gz
flycheck
-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))))