Configure loads with use-package correctly
This commit is contained in:
parent
4e30221196
commit
097221e724
@ -31,16 +31,21 @@
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Parentheses highlighting.
|
||||
;; --------------------------------------------------------------------------
|
||||
(use-package rainbow-delimiters)
|
||||
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
|
||||
(use-package rainbow-delimiters
|
||||
:defer t
|
||||
:init
|
||||
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode))
|
||||
|
||||
(use-package highlight-parentheses)
|
||||
(add-hook 'prog-mode-hook 'show-paren-mode)
|
||||
(add-hook 'prog-mode-hook 'highlight-parentheses-mode)
|
||||
(setq hl-paren-colors '("#86DC2F"
|
||||
"IndianRed1"
|
||||
"IndianRed3"
|
||||
"IndianRed4"))
|
||||
(use-package highlight-parentheses
|
||||
:defer t
|
||||
:init
|
||||
(add-hook 'prog-mode-hook 'show-paren-mode)
|
||||
(add-hook 'prog-mode-hook 'highlight-parentheses-mode)
|
||||
:config
|
||||
(setq hl-paren-colors '("#86DC2F"
|
||||
"IndianRed1"
|
||||
"IndianRed3"
|
||||
"IndianRed4")))
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Use UTF-8.
|
||||
|
@ -29,7 +29,8 @@
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Load and configure `magit'.
|
||||
;; --------------------------------------------------------------------------
|
||||
(use-package magit)
|
||||
(use-package magit
|
||||
:defer t)
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Diff mode settings.
|
||||
|
@ -30,11 +30,14 @@
|
||||
;; Enable `workgroups'.
|
||||
;; --------------------------------------------------------------------------
|
||||
|
||||
(use-package workgroups2)
|
||||
(use-package workgroups2
|
||||
:defer t
|
||||
:config
|
||||
;; Don't save. Workgroups are transient to the session.
|
||||
(setq wg-emacs-exit-save-behavior nil)
|
||||
(setq wg-workgroups-mode-exit-save-behavior nil))
|
||||
|
||||
;; Enable workgroups mode.
|
||||
(workgroups-mode 1)
|
||||
|
||||
;; Don't save. Workgroups are transient to the session.
|
||||
(setq wg-emacs-exit-save-behavior nil)
|
||||
(setq wg-workgroups-mode-exit-save-behavior nil)
|
||||
|
||||
)
|
||||
|
Reference in New Issue
Block a user