.dir-locals.el: Set variables for correct "shell" mode

The major mode used for shell scripts is named 'sh-mode'.
'shell-mode' on the other hand implements an interactive
shell in emacs-lisp.
This commit is contained in:
Jonas Bernoulli 2020-08-08 13:49:56 +02:00 committed by David Bremner
parent 6c84dee531
commit 8cf6af449e

View file

@ -15,7 +15,7 @@
(emacs-lisp-mode (emacs-lisp-mode
(indent-tabs-mode . t) (indent-tabs-mode . t)
(tab-width . 8)) (tab-width . 8))
(shell-mode (sh-mode
(indent-tabs-mode . t) (indent-tabs-mode . t)
(tab-width . 8) (tab-width . 8)
(sh-basic-offset . 4) (sh-basic-offset . 4)