Add flycheck

This commit is contained in:
Rawley
2023-09-03 19:03:05 -06:00
committed by GitHub
parent 829a0c618e
commit 66a8f80fed

14
init.el
View File

@@ -187,6 +187,11 @@
:config :config
(evil-ex-define-cmd "wq" 'save-and-kill-this-buffer)) (evil-ex-define-cmd "wq" 'save-and-kill-this-buffer))
(use-package flycheck
:ensure t
:config
(add-hook 'cperl-mode-hook 'flycheck-mode))
;; Perl ;; Perl
(require 'perltidy) ; Thanks to https://github.com/zakame/perltidy.el (require 'perltidy) ; Thanks to https://github.com/zakame/perltidy.el
(require 'perl-mode) (require 'perl-mode)
@@ -223,7 +228,14 @@
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(delete-selection-mode nil) '(delete-selection-mode nil)
'(package-selected-packages '(package-selected-packages
'(evil-mode ivy-rich counsel dap-mode company yasnippet lsp-ui lsp-metals lsp-mode sbt-mode yaml-mode web-mode tree-sitter-langs spinner smex scala-mode s raku-mode php-mode markdown-mode magit lv json-mode ht flycheck evil dracula-theme dockerfile-mode ctrlf centaur-tabs))) '(evil-mode ivy-rich counsel dap-mode company yasnippet lsp-ui lsp-metals lsp-mode sbt-mode yaml-mode web-mode tree-sitter-langs spinner smex scala-mode s raku-mode php-mode markdown-mode magit lv json-mode ht flycheck evil dracula-theme dockerfile-mode ctrlf centaur-tabs))
'(safe-local-variable-values
'((eval setq flycheck-perl-include-path
(add-to-list 'flycheck-perl-include-path
(concat
(expand-file-name
(locate-dominating-file default-directory ".dir-locals.el"))
"lib"))))))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.