diff options
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -968,22 +968,19 @@ (setq kill-read-only-ok t) (setq view-read-only nil) #+end_src -*** Whitespace - #+BEGIN_SRC emacs-lisp +*** Whitespace and filling column + #+begin_src emacs-lisp (add-hook 'write-file-functions 'delete-trailing-whitespace) (setq-default indicate-empty-lines nil) - #+END_SRC -*** Filling and fill column indicator - Some variables to control where fci mode will be or is being used - #+begin_src emacs-lisp (setq fill-column 78) (setq comment-auto-fill-only-comments nil) - (use-package hi-lock + (use-package whitespace :init - (defun jao-hi-long-lines () - (hi-lock-line-face-buffer ".\\{81\\}" 'hi-blue)) - :hook (prog-mode . jao-hi-long-lines)) + (setq whitespace-style + '(face tabs trailing lines-tail empty missing-newline-at-eof) + whitespace-line-column 80) + :hook (prog-mode . whitespace-mode)) #+end_src *** Visible mode |