This is an EditorConfig plugin for Emacs.
Download the EditorConfig core and follow the instructions in the README and INSTALL files to install it.
Once EditorConfig core is installed, copy
and add the following to your
(add-to-list 'load-path "~/.emacs.d/") (load "editorconfig")
Alternatively, you can find the package available on Marmalade.
Current Emacs plugin coverage for EditorConfig's properties:
insert_final_newline = trueis supported
is not enforced (as in trailing newlines actually being removed automagically), we just buffer-locally override any preferences that would auto-add them to files
insert_final_newline = false
.editorconfigmarks as trailing-newline-free
root(only used by EditorConfig core)
Not yet covered properties marked with
– pull requests implementin missing features warmly welcomed!
Typically, you will want to tie these to native functionality,
or the configuration of existing packages handling the feature.
As several packages have their own handling of, say, indention, we might not yet cover some mode you use, but we try to add the ones that show up on our radar. Similarly, we don't yet hook in to all different packages for whitespace trimming to inform them about editorconfig settings, but aim for better coverage of things like ws-trim.
Bugs, feature requests, and other issues should be submitted to the main EditorConfig issue tracker: https://github.com/editorconfig/editorconfig/issues