editorconfig / editorconfig-emacs

EditorConfig plugin for Emacs
https://editorconfig.org
GNU General Public License v3.0
748 stars 107 forks source link

`editorconfig-core` is not `require`d by default #272

Closed chvp closed 2 years ago

chvp commented 2 years ago

With

(use-package editorconfig
  :ensure t
  :config (editorconfig-mode 1)
  )

I get Warning (editorconfig): Failed to get properties, styles will not be applied: (editorconfig-error "Invalid editorconfig-get-properties-function value"), and the editorconfig settings are not applied.

With

(use-package editorconfig
  :ensure t
  :config
  (require 'editorconfig-core)
  (editorconfig-mode 1)
  )

no such warning is triggered, and the editorconfig settings are applied.