From 527eeb03895e9552f27b599f15899a36983003d4 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Mon, 10 Feb 2025 21:18:40 -0500 Subject: [PATCH] New emacs stuff --- my_home/.emacs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/my_home/.emacs b/my_home/.emacs index ac55463..94a952a 100644 --- a/my_home/.emacs +++ b/my_home/.emacs @@ -10,7 +10,7 @@ ;; If there is more than one, they won't work right. '(custom-enabled-themes '(tango-dark)) '(package-selected-packages - '(js2-mode flycheck-raku company yasnippet project eglot dockerfile-mode php-mode web-mode kotlin-mode markdown-mode elpher yaml-mode raku-mode emojify))) + '(flycheck js2-mode flycheck-raku company yasnippet project eglot dockerfile-mode php-mode web-mode kotlin-mode markdown-mode elpher yaml-mode raku-mode emojify))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -82,7 +82,7 @@ "Hooks for Web mode." (setq web-mode-markup-indent-offset 2) ) -(add-hook 'web-mode-hook 'my-web-mode-hook) +(add-hook 'web-mode-hook 'my-web-mode-hook) ;; cperl-mode config (defalias 'perl-mode 'cperl-mode) @@ -110,3 +110,7 @@ ;; JS cope (setq js-switch-indent-offset 4) + +;; Flycheck +(add-hook 'after-init-hook #'global-flycheck-mode) +(setq flycheck-perl-include-path '("$HOME/perl5/lib/perl5"))