mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
define special unicode whitespace characters with the unicode code rather than the character itself
This commit is contained in:
@@ -42,9 +42,12 @@
|
||||
(global-whitespace-mode t)
|
||||
|
||||
;; Customize Whitespace Characters
|
||||
;; - Newline: \u00AC = ¬
|
||||
;; - Tab: \u25B8 = ▸
|
||||
(setq whitespace-display-mappings
|
||||
(quote ((newline-mark ?\n [?¬ ?\n] [?$ ?\n])
|
||||
(tab-mark ?\t [?▸ ?\t] [?\u00BB ?\t] [?\\ ?\t]))))
|
||||
(quote ((newline-mark ?\n [?\u00AC ?\n] [?$ ?\n])
|
||||
(tab-mark ?\t [?\u25B8 ?\t] [?\u00BB ?\t] [?\\ ?\t]))))
|
||||
|
||||
(setq whitespace-style
|
||||
(quote (face tabs trailing space-before-tab newline
|
||||
indentation space-after-tab tab-mark newline-mark
|
||||
|
||||
Reference in New Issue
Block a user