New emacs stuff

This commit is contained in:
swaggboi 2025-02-10 21:18:40 -05:00
parent 3f8b6f5739
commit 527eeb0389

View File

@ -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"))