From 2c18b4c70af2990be78323f34ee653bf3130f186 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 20 Oct 2023 12:12:57 +0200 Subject: [PATCH] Only load fish-mode for fish files --- configuration.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.org b/configuration.org index 8f80099..f4b1a39 100644 --- a/configuration.org +++ b/configuration.org @@ -3017,7 +3017,8 @@ Because that’s still my favourite language. #+begin_src emacs-lisp (use-package fish-mode :hook - (fish-mode . (lambda () (add-hook 'before-save-hook 'fish_indent-before-save)))) + (fish-mode . (lambda () (add-hook 'before-save-hook 'fish_indent-before-save))) + :mode "\\.fish\\'") #+end_src ** ~gitlab-ci-mode~ and ~gitlab-ci-mode-flycheck~