More formatting hooks
This commit is contained in:
parent
8cd2eccc9a
commit
4884c9eaaf
@ -58,20 +58,25 @@
|
|||||||
c-basic-offset 8
|
c-basic-offset 8
|
||||||
tab-width 8)
|
tab-width 8)
|
||||||
|
|
||||||
(add-hook 'emacs-lisp-mode-hook (setq indent-tabs-mode nil))
|
(add-hook 'emacs-lisp-mode-hook (lambda ()
|
||||||
|
(setq indent-tabs-mode nil)))
|
||||||
(add-hook 'ruby-mode-hook (lambda ()
|
(add-hook 'ruby-mode-hook (lambda ()
|
||||||
(setq evil-shift-width 2)
|
|
||||||
(setq indent-tabs-mode nil)
|
(setq indent-tabs-mode nil)
|
||||||
|
(setq evil-shift-width 2)
|
||||||
(setq tab-width 2)))
|
(setq tab-width 2)))
|
||||||
(add-hook 'js-mode-hook (lambda ()
|
(add-hook 'js-mode-hook (lambda ()
|
||||||
(setq evil-shift-width 2)
|
|
||||||
(setq indent-tabs-mode nil)
|
(setq indent-tabs-mode nil)
|
||||||
|
(setq evil-shift-width 2)
|
||||||
(setq js-indent-level 2)))
|
(setq js-indent-level 2)))
|
||||||
(add-hook 'css-mode-hook (lambda ()
|
(add-hook 'css-mode-hook (lambda ()
|
||||||
(setq evil-shift-width 2)
|
|
||||||
(setq indent-tabs-mode nil)
|
(setq indent-tabs-mode nil)
|
||||||
|
(setq evil-shift-width 2)
|
||||||
(setq tab-width 2)
|
(setq tab-width 2)
|
||||||
(setq css-indent-offset 2)))
|
(setq css-indent-offset 2)))
|
||||||
|
(add-hook 'org-mode-hook (lambda ()
|
||||||
|
(setq indent-tabs-mode nil)
|
||||||
|
(setq tab-width 2)
|
||||||
|
(setq evil-shift-width 2)))
|
||||||
;; End text Formatting
|
;; End text Formatting
|
||||||
|
|
||||||
;; Backup Files
|
;; Backup Files
|
||||||
|
Loading…
Reference in New Issue
Block a user