                     (file-name-extension buffer-file-name))
                buffer-file-name
              (format "%s%s" buffer-file-name
-                     (if-let* ((ext (cdr (assq major-mode doom-editorconfig-mode-alist))))
+                     (if-let* ((ext (cdr (assq major-mode +editorconfig-mode-alist))))
                          (concat "." ext)
                        "")))))
       (apply orig-fn args)))

;;; tools/editorconfig/config.el -*- lexical-binding: t; -*-

;; Handles whitespace (tabs/spaces) settings externally. This way projects can
;; specify their own formatting rules.

                  (nasm-mode nasm-basic-offset))
                editorconfig-indentation-alist))

  (defun doom*editorconfig-smart-detection (orig-fn &rest args)
    "Retrieve the properties for the current file. If it doesn't have an
extension, try to guess one."
