From 51b5fb0f4471af1b078b2a2c28b0f63e62119a33 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 21 Mar 2018 05:19:01 -0400 Subject: [PATCH] Add missing modes to editorconfig-indentation-alist --- core/core-editor.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/core-editor.el b/core/core-editor.el index eed0e4e30..f5f3defe5 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -122,6 +122,13 @@ fundamental-mode) for performance sake." (def-package! editorconfig :hook (doom-init . editorconfig-mode) :config + ;; Register missing indent variables + (setq editorconfig-indentation-alist + (append '((mips-mode mips-tab-width) + (haxor-mode haxor-tab-width) + (nasm-mode nasm-basic-offset)) + editorconfig-indentation-alist)) + ;; editorconfig cannot procure the correct settings for extension-less files. ;; Executable scripts with a shebang line, for example. So why not use Emacs' ;; major mode to drop editorconfig a hint? This is accomplished by temporarily