diff options
author | jao <jao@gnu.org> | 2022-04-16 02:13:29 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-04-16 02:13:29 +0100 |
commit | e9cf3ab06841d773ba712e8daf61410762f6e251 (patch) | |
tree | 071a9dcf90762f28da0232c76c34a96fd3d6dac5 | |
parent | 9938b1293ba07e671888799a048f6a7803c6160b (diff) | |
download | elibs-e9cf3ab06841d773ba712e8daf61410762f6e251.tar.gz elibs-e9cf3ab06841d773ba712e8daf61410762f6e251.tar.bz2 |
display-fill-column-indicator and whitespace-mode
-rw-r--r-- | init.org | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 |