mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
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:
committed by
Gerry Agbobada
parent
473d41f889
commit
089fe56079
@@ -8,6 +8,11 @@
|
||||
(doom-bepo-rotate-collection-keymaps-h-builder doom-bepo-cr-rotation-style))
|
||||
(add-hook 'evil-collection-setup-hook #'doom-bepo--evil-collection-hook)
|
||||
|
||||
;; Highlight non breaking spaces as error in prog modes only
|
||||
;; TODO: this variable is defined in a file called xdisp.c Will that work in non-X builds ?
|
||||
(setq nobreak-char-display t)
|
||||
(set-face-attribute 'nobreak-space nil :underline t)
|
||||
|
||||
(add-transient-hook! 'doom-init-modules-hook
|
||||
(setq avy-keys '(?a ?u ?i ?e ?, ?c ?t ?s ?r ?n)
|
||||
lispy-avy-keys '(?a ?u ?i ?e ?, ?c ?t ?s ?r ?n ?m ?b ?é ?p ?o ?è ?v ?d ?l ?j ?z))
|
||||
|
Reference in New Issue
Block a user