tools/editorconfig: remove extra indent vars

They were merged upstream in editorconfig/editorconfig-emacs#196

Relevant to: #1283, #1289
This commit is contained in:
Henrik Lissner
2019-04-05 14:22:25 -04:00
parent b7585e37aa
commit df748e6cee

View File

@ -20,16 +20,6 @@
(def-package! editorconfig (def-package! editorconfig
:after-call (doom-switch-buffer-hook after-find-file) :after-call (doom-switch-buffer-hook after-find-file)
:config :config
;; Register missing indent variables
(unless (assq 'mips-mode editorconfig-indentation-alist)
(setq editorconfig-indentation-alist
(append '((mips-mode mips-tab-width)
(haxor-mode haxor-tab-width)
(nasm-mode nasm-basic-offset)
(enh-ruby-mode enh-ruby-indent-level)
(terra-mode terra-indent-level))
editorconfig-indentation-alist)))
(defun doom*editorconfig-smart-detection (orig-fn) (defun doom*editorconfig-smart-detection (orig-fn)
"Retrieve the properties for the current file. If it doesn't have an "Retrieve the properties for the current file. If it doesn't have an
extension, try to guess one." extension, try to guess one."