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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -20,16 +20,6 @@
(def-package! editorconfig
:after-call (doom-switch-buffer-hook after-find-file)
: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)
"Retrieve the properties for the current file. If it doesn't have an
extension, try to guess one."