summaryrefslogtreecommitdiff
path: root/.dir-locals.el
AgeCommit message (Collapse)AuthorFilesLines
2016-11-14dir-locals.el: Adds White Space supportAndres Gomez1-4/+13
The White Space package, which is available since GNU Emacs 22, is loaded and activated locally in prog-mode and cmake-mode. Also, using White Space variables, we set highlighting through faces on wrong indentation and the maximum length of a coding line. Notice that: - The highlighting for the characters beyond the set length of a coding line is not activated by default, only for wrong indentations. - If the White Space package is not available, errors on loading or activation are ignored. - If the White Space mode is not activated the set variables would not have any effect. v2: python-mode inherits from prog-mode v3: Removed too long lines trail highlighting, as suggested by Ilia Mirkin. Signed-off-by: Andres Gomez <agomez@igalia.com> Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
2016-04-19dir-locals.el: Added emacs setup based (v2)Andres Gomez1-0/+11
Based on current conventions at .editorconfig v2: Changed automatic deletion of trailing white spaces in python files upon saving for just highlighting them in any format, as suggested by Ilia Mirkin. Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>