File: editorconfig-core.el.html
This library is one implementation of EditorConfig Core, which parses
.editorconfig files and returns properties for given files.
This can be used in place of, for example, editorconfig-core-c.
Use from EditorConfig Emacs Plugin
Emacs plugin (v0.5 or later) can utilize this implementation. By default, the plugin first search for any EditorConfig executable, and fallback to this library if not found. If you always want to use this library, add following lines to your init.el:
Functions
editorconfig-core-get-properties-hash (&optional file confname)
Get EditorConfig properties for FILE.
If FILE is not given, use currently visiting file. Give CONFNAME for basename of config file other than .editorconfig.
This functions returns hash table of properties' values.
Defined variables (0)
Defined functions (4)
editorconfig-core--get-handles | (DIR CONFNAME &optional RESULT) |
editorconfig-core--hash-merge | (INTO UPDATE) |
editorconfig-core-get-nearest-editorconfig | (DIRECTORY) |
editorconfig-core-get-properties-hash | (&optional FILE CONFNAME) |