Only load fish-mode for fish files

This commit is contained in:
Gergely Polonkai 2023-10-20 12:12:57 +02:00
parent c39e8c2bbf
commit 2c18b4c70a
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -3017,7 +3017,8 @@ Because thats still my favourite language.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package fish-mode (use-package fish-mode
:hook :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 #+end_src
** ~gitlab-ci-mode~ and ~gitlab-ci-mode-flycheck~ ** ~gitlab-ci-mode~ and ~gitlab-ci-mode-flycheck~