From 3add1b5f4db3e6580b46ec489a1dea6510ef35a7 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Thu, 22 Dec 2022 05:40:01 -0500 Subject: [PATCH] Set customizations for whitespace-mode --- init.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/init.el b/init.el index 40ca20c..33b9e03 100644 --- a/init.el +++ b/init.el @@ -669,6 +669,19 @@ DOCSTRING is an optional form that is discarded upon expansion." (uniquify-after-kill-buffer-p t "Update buffer names after killing") (uniquify-ignore-buffers-re "^\\*" "Avoid renaming special buffers")) +;; ---------------------------------- ;; +;; whitespace +;; ---------------------------------- ;; + +(editor-feature whitespace + "Visualizes blank characters" + :custom + (whitespace-line-column nil "Use the value of `fill-column' instead of a set value") + (whitespace-display-mappings '((tab-mark 9 [8677 9]) ; Tab + (space-mark 32 [8729]) ; Space + (space-mark 160 [8999]) ; Non-breaking space + (newline-mark 10 [8617 10])))) ; Newline + ;; -------------------------------------------------------------------------- ;; ;; ;; External packages