summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-05 06:02:57 +0200
committerThanos Apollo <[email protected]>2024-03-05 06:02:57 +0200
commit9bcf6a1cdb860bef82bf207c0f52fa6452d663bd (patch)
tree469dfa74b4f19a48095e9ddbe9328750be4fc8b2
parent0ce19732baece3af63a60845e7c7eae7a1bcafcd (diff)
emacs: Update flycheck config
-rw-r--r--.emacs.d/init.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 943fdda..8384468 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -524,10 +524,16 @@
(use-package emojify
:ensure t)
+(use-package flycheck-package
+ :ensure t
+ :after flycheck)
+
(use-package flycheck
:ensure t
:config
- (setf flycheck-emacs-lisp-load-path 'inherit))
+ (setf flycheck-emacs-lisp-load-path 'inherit)
+ (global-flycheck-mode)
+ :hook ((emacs-lisp-mode . (lambda () (flycheck-mode) (flycheck-package-setup)))))
;; Shells
(use-package vterm