diff options
author | Andres Gomez <[email protected]> | 2016-11-09 18:32:41 +0200 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2016-11-14 19:17:49 +0200 |
commit | 5923088d754d448616678f05ddd27d70760d4534 (patch) | |
tree | b2324ccbdc118a3b31aa579bb4408c94a28a98c4 /src/intel | |
parent | 9730f2734be7769fa9cef75efa74bfdce27fbc2d (diff) |
dir-locals.el: Adds White Space support
Trailing white spaces will be now always highlighted, not just in
prog-mode.
Also, the White Space package, which is available since GNU Emacs 22,
is loaded and activated locally in prog-mode.
Additionally, 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: Removed too long lines trail highlighting, as suggested by Ilia
Mirkin.
Signed-off-by: Andres Gomez <[email protected]>
Acked-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/intel')
0 files changed, 0 insertions, 0 deletions