diff options
author | Case Duckworth | 2021-02-26 11:32:13 -0600 |
---|---|---|
committer | Case Duckworth | 2021-02-26 11:32:13 -0600 |
commit | b810decdf2fe33a2cd3dcff70f39be2258b18240 (patch) | |
tree | 001f5fcb3e3d77e6c777d1f146d5d15712d73e07 | |
parent | Set up elfeed-protocol w/ Fever (diff) | |
download | emacs-b810decdf2fe33a2cd3dcff70f39be2258b18240.tar.gz emacs-b810decdf2fe33a2cd3dcff70f39be2258b18240.zip |
Add sh-basic offset
Avoids the shifting around when saving.
-rw-r--r-- | config.org | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.org b/config.org index d84d7ab..ac4f360 100644 --- a/config.org +++ b/config.org | |||
@@ -2046,6 +2046,11 @@ installed. | |||
2046 | (add-hook 'sh-mode-hook #'sh-format-on-save-mode)) | 2046 | (add-hook 'sh-mode-hook #'sh-format-on-save-mode)) |
2047 | #+end_src | 2047 | #+end_src |
2048 | 2048 | ||
2049 | #+begin_src emacs-lisp :noweb-ref settings | ||
2050 | (setq-default sh-basic-offset 8 | ||
2051 | smie-indent-basic 8) | ||
2052 | #+end_src | ||
2053 | |||
2049 | * Applications | 2054 | * Applications |
2050 | 2055 | ||
2051 | Emacs is well-known for its ability to subsume one's entire computing | 2056 | Emacs is well-known for its ability to subsume one's entire computing |