Don't throw error when no flycheck

This commit is contained in:
swagg boi 2025-03-23 17:27:12 -04:00
parent 9e57d05af8
commit f713492679

View File

@ -118,5 +118,6 @@
(setq js-switch-indent-offset 4) (setq js-switch-indent-offset 4)
;; Flycheck ;; Flycheck
(add-hook 'after-init-hook #'global-flycheck-mode) (when (require 'flycheck nil 'noerror)
(setq flycheck-perl-include-path '("$HOME/perl5/lib/perl5")) (add-hook 'after-init-hook #'global-flycheck-mode)
(setq flycheck-perl-include-path '("$HOME/perl5/lib/perl5")))