mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
640de3fb86
This reverts commit b673fb12c1
.
27 lines
609 B
Org Mode
27 lines
609 B
Org Mode
:PROPERTIES:
|
|
:ID: 8cfa2b1a-9004-4fa0-8ca4-72876ece7d70
|
|
:END:
|
|
#+title: whitespace.el
|
|
#+filetags: emacs-load
|
|
|
|
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
Highlight trailing whitespace.
|
|
|
|
#+begin_src emacs-lisp
|
|
(use-package whitespace
|
|
:config
|
|
(setq whitespace-style '(face tabs trailing))
|
|
(face-spec-set
|
|
'whitespace-tabs
|
|
'((t :background "red"))
|
|
'face-defface-spec)
|
|
(face-spec-set
|
|
'whitespace-trailing
|
|
'((t :background "red"))
|
|
'face-defface-spec)
|
|
(global-whitespace-mode))
|
|
#+end_src
|