diff --git a/modules/tools/editorconfig/config.el b/modules/tools/editorconfig/config.el index 7880c5efb..cecafdc4e 100644 --- a/modules/tools/editorconfig/config.el +++ b/modules/tools/editorconfig/config.el @@ -5,12 +5,14 @@ ;; major mode to drop editorconfig a hint? This is accomplished by temporarily ;; appending an extension to `buffer-file-name' when we talk to editorconfig. (defvar +editorconfig-mode-alist - '((sh-mode . "sh") - (python-mode . "py") - (ruby-mode . "rb") - (enh-ruby-mode . "rb") - (perl-mode . "pl") - (php-mode . "php")) + '((emacs-lisp-mode . "el") + (enh-ruby-mode . "rb") + (js2-mode . "js") + (perl-mode . "pl") + (php-mode . "php") + (python-mode . "py") + (ruby-mode . "rb") + (sh-mode . "sh")) "An alist mapping major modes to extensions. Used by `doom--editorconfig-smart-detection-a' to give editorconfig filetype hints.")