Configure loads with use-package correctly
This commit is contained in:
parent
4e30221196
commit
097221e724
@ -31,16 +31,21 @@
|
|||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
;; Parentheses highlighting.
|
;; Parentheses highlighting.
|
||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
(use-package rainbow-delimiters)
|
(use-package rainbow-delimiters
|
||||||
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
|
:defer t
|
||||||
|
:init
|
||||||
|
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode))
|
||||||
|
|
||||||
(use-package highlight-parentheses)
|
(use-package highlight-parentheses
|
||||||
(add-hook 'prog-mode-hook 'show-paren-mode)
|
:defer t
|
||||||
(add-hook 'prog-mode-hook 'highlight-parentheses-mode)
|
:init
|
||||||
(setq hl-paren-colors '("#86DC2F"
|
(add-hook 'prog-mode-hook 'show-paren-mode)
|
||||||
"IndianRed1"
|
(add-hook 'prog-mode-hook 'highlight-parentheses-mode)
|
||||||
"IndianRed3"
|
:config
|
||||||
"IndianRed4"))
|
(setq hl-paren-colors '("#86DC2F"
|
||||||
|
"IndianRed1"
|
||||||
|
"IndianRed3"
|
||||||
|
"IndianRed4")))
|
||||||
|
|
||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
;; Use UTF-8.
|
;; Use UTF-8.
|
||||||
|
@ -29,7 +29,8 @@
|
|||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
;; Load and configure `magit'.
|
;; Load and configure `magit'.
|
||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
(use-package magit)
|
(use-package magit
|
||||||
|
:defer t)
|
||||||
|
|
||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
;; Diff mode settings.
|
;; Diff mode settings.
|
||||||
|
@ -30,11 +30,14 @@
|
|||||||
;; Enable `workgroups'.
|
;; 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)
|
(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