A recent update of Emacs broke .dir-locals.el's shell indentation
setting.

Also set 'sh-indendation' not just 'sh-basic-offset' for this.

Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>

---
Changes to v1:
- Fix spelling and subject prefix
- Add Bart's R-b
---
 .dir-locals.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.dir-locals.el b/.dir-locals.el
index f64c48202910..46961929fac9 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,3 +1,4 @@
 ((sh-mode . ((sh-basic-offset . 8)
+            (sh-indentation . 8)
             (fill-column . 80)
             (indent-tabs-mode . t))))
-- 
2.16.4

Reply via email to