summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-04-16 02:13:29 +0100
committerjao <jao@gnu.org>2022-04-16 02:13:29 +0100
commite9cf3ab06841d773ba712e8daf61410762f6e251 (patch)
tree071a9dcf90762f28da0232c76c34a96fd3d6dac5
parent9938b1293ba07e671888799a048f6a7803c6160b (diff)
downloadelibs-e9cf3ab06841d773ba712e8daf61410762f6e251.tar.gz
elibs-e9cf3ab06841d773ba712e8daf61410762f6e251.tar.bz2
display-fill-column-indicator and whitespace-mode
-rw-r--r--init.org11
1 files changed, 8 insertions, 3 deletions
diff --git a/init.org b/init.org
index c6f7990..d0f83b0 100644
--- a/init.org
+++ b/init.org
@@ -977,10 +977,15 @@
(use-package whitespace
:init
- (setq whitespace-style
- '(face tabs trailing lines-tail empty missing-newline-at-eof)
+ (setq whitespace-style '(face tabs trailing ;; lines-tail
+ empty missing-newline-at-eof)
whitespace-line-column 80)
- :hook (prog-mode . whitespace-mode))
+ :hook (prog-mode . whitespace-mode)
+ :diminish)
+
+ (use-package display-fill-column-indicator
+ :init (setq-default display-fill-column-indicator-column 80)
+ :hook (prog-mode . display-fill-column-indicator-mode))
#+end_src
*** Visible mode