diff options
-rw-r--r-- | init.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/init.el b/init.el index e504fd5..70b9325 100644 --- a/init.el +++ b/init.el | |||
@@ -466,9 +466,14 @@ | |||
466 | (use-package reformatter | 466 | (use-package reformatter |
467 | :demand) | 467 | :demand) |
468 | 468 | ||
469 | (setq-default smie-indent-basic 8) | ||
470 | |||
469 | ;; Shell scripts | 471 | ;; Shell scripts |
470 | (setq-default sh-basic-offset 8 | 472 | (setq-default sh-basic-offset 8 |
471 | smie-indent-basic 8) | 473 | ;; try to indent like shfmt |
474 | sh-indent-after-case 0 | ||
475 | sh-indent-for-case-alt '+ | ||
476 | sh-indent-for-case-label 0) | ||
472 | 477 | ||
473 | (use-package flymake-shellcheck | 478 | (use-package flymake-shellcheck |
474 | :when (executable-find "shellcheck") | 479 | :when (executable-find "shellcheck") |