Use simpler method to highlight nbsp

If it does not work on non-X builds we will fall back to the ergodis
method based on adding a font-lock class
This commit is contained in:
Gerry Agbobada 2020-08-15 11:38:38 +02:00 committed by Gerry Agbobada
parent 473d41f889
commit 089fe56079
No known key found for this signature in database
GPG key ID: BE26DBAFD866BE34
3 changed files with 5 additions and 15 deletions

View file

@ -1,10 +1,5 @@
;;; input/keymaps/config.el -*- lexical-binding: t; -*-
(defface doom-bepo-hard-space '((t (:background "Aquamarine")))
"*Face for highlighting non-breaking spaces (`?\u00a0')in Font-Lock mode.
\(This is also ?\240.)"
:group 'doom-bepo :group 'faces)
(defvar doom-bepo-cr-rotation-style 'ergodis
"Modify this variable in your $DOOMDIR/init.el
Style of binding rotation for the cr keys.