Compare commits
2 commits
706b396e1c
...
06208d5491
| Author | SHA1 | Date | |
|---|---|---|---|
| 06208d5491 | |||
| 423acecb38 |
1 changed files with 3 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ The audible bell is annoying AF.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package whitespace
|
(use-package whitespace
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:hook (before-save-hook . whitespace-cleanup)
|
:hook (before-save-hook . delete-trailing-whitespace)
|
||||||
;; if we wanna remove this hook at any time, eval:
|
;; if we wanna remove this hook at any time, eval:
|
||||||
;; (remove-hook 'before-save-hook #'whitespace-cleanup)
|
;; (remove-hook 'before-save-hook #'whitespace-cleanup)
|
||||||
)
|
)
|
||||||
|
|
@ -213,6 +213,8 @@ Show function we are currently in in the mode-line.
|
||||||
(use-package which-func
|
(use-package which-func
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:defer t
|
:defer t
|
||||||
|
:custom
|
||||||
|
(which-func-display mode-and-header)
|
||||||
:hook
|
:hook
|
||||||
(prog-mode-hook . which-function-mode)
|
(prog-mode-hook . which-function-mode)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue