Browse Source

Remove some indent configurations

This should be done with EditorConfig!
pull/15/head
10sr 8 years ago
parent
commit
61cfde607c
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      emacs.el

+ 0
- 8
emacs.el View File

@@ -1017,11 +1017,6 @@ found, otherwise returns nil."
;; (gtags-mode 1)) ;; (gtags-mode 1))
))) )))


(when (autoload-eval-lazily 'php-mode)
(add-hook 'php-mode-hook
(lambda ()
(set-variable 'c-basic-offset 2))))

(autoload-eval-lazily 'js2-mode nil (autoload-eval-lazily 'js2-mode nil
;; currently do not use js2-mode ;; currently do not use js2-mode
;; (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) ;; (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
@@ -1039,9 +1034,6 @@ found, otherwise returns nil."
;; t) ;; t)
) )


(with-eval-after-load 'js
(set-variable 'js-indent-level 2))

(add-to-list 'interpreter-mode-alist (add-to-list 'interpreter-mode-alist
'("node" . js-mode)) '("node" . js-mode))




Loading…
Cancel
Save