From 16b4c9ed8f62dccce9a3ec32810077a9140f8925 Mon Sep 17 00:00:00 2001 From: bard Date: Sun, 8 Oct 2023 15:12:47 -0400 Subject: module files migration complete --- bard-emacs-modules/bard-lang.el | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bard-emacs-modules/bard-lang.el (limited to 'bard-emacs-modules/bard-lang.el') diff --git a/bard-emacs-modules/bard-lang.el b/bard-emacs-modules/bard-lang.el new file mode 100644 index 0000000..2400ea5 --- /dev/null +++ b/bard-emacs-modules/bard-lang.el @@ -0,0 +1,9 @@ +(defun bard/common-modes-hook () + "Commonly used modes, bundled in one hook" + (display-line-numbers-mode 1) + (electric-pair-mode 1) + (hl-todo-mode 1)) + +(add-hook 'emacs-lisp-mode-hook 'bard/common-modes-hook) +(add-hook 'haskell-mode-hook 'bard/common-modes-hook) +(add-hook 'clojure-mode-hook 'bard/common-modes-hook) -- cgit v1.2.3