about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2017-07-01T19·48-0400
committerWilliam Carroll <wpcarro@gmail.com>2017-07-01T19·52-0400
commit4a872bbe7ce92aff2ae2bc70a70638473a4cdea6 (patch)
treea9a7a35c9bd594a02e288aa750f983e2d708cf71 /configs
parentc3ff91d35e545ae50182848cd6dce16e78fac052 (diff)
Extends indentation configuration
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/.emacs8
1 files changed, 6 insertions, 2 deletions
diff --git a/configs/shared/.emacs b/configs/shared/.emacs
index 6b48334d37fa..323c2e210acf 100644
--- a/configs/shared/.emacs
+++ b/configs/shared/.emacs
@@ -118,8 +118,6 @@
 (set-default 'truncate-lines t)
 (setq truncate-partial-width-windows nil)
 
-(setq css-indent-offset 2)
-(setq js-indent-level 2)
 
 ;; Window Auto-Balancing
 (defadvice split-window-below (after restore-balanace-below activate)
@@ -644,6 +642,12 @@
 (setq-default line-spacing 4)
 
 
+;; Default spaces indentation
+(setq css-indent-offset 2)
+(setq js-indent-level 2)
+(setq sh-basic-offset 2)
+
+
 ;; Add transparency
 (set-frame-parameter (selected-frame) 'alpha '(100 . 100))
 (add-to-list 'default-frame-alist '(alpha . (100 . 100)))