diff options
| author | KΓ©vin Le Gouguec <kevin.legouguec@gmail.com> | 2023-01-15 01:24:13 +0100 |
|---|---|---|
| committer | KΓ©vin Le Gouguec <kevin.legouguec@gmail.com> | 2023-01-15 01:38:27 +0100 |
| commit | 152329e65368108ff8b6d38eaa2ee189a6bb4df1 (patch) | |
| tree | d34901e9c524d40417628a6335ad18b1616420dc /.emacs | |
| parent | 597c3901cc06c894364fe3d061133d8cc3500ccb (diff) | |
| download | dotfiles-152329e65368108ff8b6d38eaa2ee189a6bb4df1.tar.xz | |
Port more settings to use-package
Diffstat (limited to '.emacs')
| -rw-r--r-- | .emacs | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -336,8 +336,6 @@ '(:eval (if (>= text-scale-mode-amount 0) "π" "π")) 'face-remap) (delight 'visual-line-mode nil t) -(delight 'which-key-mode nil 'which-key) -(delight 'whitespace-mode nil 'whitespace) (delight 'with-editor-mode "βΈ" 'with-editor) ;; TODO: Narrow (β, βΆ) @@ -763,5 +761,22 @@ :custom (show-paren-mode t) (show-paren-predicate t)) + +(use-package which-key + :custom + (which-key-idle-delay 0.5) + (which-key-mode t) + :delight) + +(use-package whitespace + :config + (my/setopt + whitespace-style + (my/list-update whitespace-style + nil '(lines missing-newline-at-eof))) + :delight + ;; FIXME: without :demand t, enabling whitespace-mode in a diff + ;; buffer first causes diff-mode's settings to be applied globally. + :demand t) ;;; TODO: decruftify mode-line (e.g. remove superflous parens). |
