Use new ;;;###package cookie
This will later be used for doom/describe-packages to list all locations where a package is being configured (along with def-package! and after! blocks).
This commit is contained in:
parent
5c7da455f8
commit
d868f5fd10
3 changed files with 13 additions and 10 deletions
|
@ -208,7 +208,7 @@ If any hook returns non-nil, all hooks after it are ignored.")
|
||||||
(which-key-mode +1))
|
(which-key-mode +1))
|
||||||
|
|
||||||
|
|
||||||
;; `hydra'
|
;;;###package hydra
|
||||||
(setq lv-use-seperator t)
|
(setq lv-use-seperator t)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -322,11 +322,10 @@ read-only or not file-visiting."
|
||||||
;;
|
;;
|
||||||
;;; Third party packages
|
;;; Third party packages
|
||||||
|
|
||||||
;; `avy'
|
;;;###package avy
|
||||||
(setq avy-all-windows nil
|
(setq avy-all-windows nil
|
||||||
avy-background t)
|
avy-background t)
|
||||||
|
|
||||||
;; `all-the-icons'
|
|
||||||
(def-package! all-the-icons
|
(def-package! all-the-icons
|
||||||
:commands (all-the-icons-octicon all-the-icons-faicon all-the-icons-fileicon
|
:commands (all-the-icons-octicon all-the-icons-faicon all-the-icons-fileicon
|
||||||
all-the-icons-wicon all-the-icons-material all-the-icons-alltheicon)
|
all-the-icons-wicon all-the-icons-material all-the-icons-alltheicon)
|
||||||
|
@ -342,25 +341,27 @@ read-only or not file-visiting."
|
||||||
all-the-icons-wicon all-the-icons-alltheicon))
|
all-the-icons-wicon all-the-icons-alltheicon))
|
||||||
(advice-add fn :around #'doom*disable-all-the-icons-in-tty)))
|
(advice-add fn :around #'doom*disable-all-the-icons-in-tty)))
|
||||||
|
|
||||||
;; `hide-mode-line-mode'
|
;;;###package hide-mode-line-mode
|
||||||
(add-hook 'completion-list-mode-hook #'hide-mode-line-mode)
|
(add-hook 'completion-list-mode-hook #'hide-mode-line-mode)
|
||||||
(add-hook 'Man-mode-hook #'hide-mode-line-mode)
|
(add-hook 'Man-mode-hook #'hide-mode-line-mode)
|
||||||
|
|
||||||
;; `highlight-numbers' --- better number literal fontification in code
|
;; Better fontification of number literals in code
|
||||||
(def-package! highlight-numbers
|
(def-package! highlight-numbers
|
||||||
:hook ((prog-mode conf-mode) . highlight-numbers-mode)
|
:hook ((prog-mode conf-mode) . highlight-numbers-mode)
|
||||||
:config (setq highlight-numbers-generic-regexp "\\_<[[:digit:]]+\\(?:\\.[0-9]*\\)?\\_>"))
|
:config (setq highlight-numbers-generic-regexp "\\_<[[:digit:]]+\\(?:\\.[0-9]*\\)?\\_>"))
|
||||||
|
|
||||||
;; `highlight-escape-sequences'
|
;;;###package highlight-escape-sequences
|
||||||
(def-package! highlight-escape-sequences
|
(def-package! highlight-escape-sequences
|
||||||
:hook ((prog-mode conf-mode) . highlight-escape-sequences-mode))
|
:hook ((prog-mode conf-mode) . highlight-escape-sequences-mode))
|
||||||
|
|
||||||
;; `rainbow-delimiters' --- helps us distinguish stacked delimiter pairs.
|
;;;###package rainbow-delimiters
|
||||||
;; Especially in parentheses-drunk languages like Lisp.
|
;; Helps us distinguish stacked delimiter pairs, especially in parentheses-drunk
|
||||||
|
;; languages like Lisp.
|
||||||
(setq rainbow-delimiters-max-face-count 3)
|
(setq rainbow-delimiters-max-face-count 3)
|
||||||
|
|
||||||
;; `visual-fill-column' --- for a distractions-free-like UI, that dynamically
|
;;;###package visual-fill-column
|
||||||
;; resizes margins and can center a buffer.
|
;; For a distractions-free-like UI, that dynamically resizes margins and can
|
||||||
|
;; center a buffer.
|
||||||
(setq visual-fill-column-center-text t
|
(setq visual-fill-column-center-text t
|
||||||
visual-fill-column-width
|
visual-fill-column-width
|
||||||
;; take Emacs 26 line numbers into account
|
;; take Emacs 26 line numbers into account
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
;; -*- no-byte-compile: t; -*-
|
;; -*- no-byte-compile: t; -*-
|
||||||
;;; lang/emacs-lisp/packages.el
|
;;; lang/emacs-lisp/packages.el
|
||||||
|
|
||||||
|
(package! elisp-mode :built-in t)
|
||||||
|
|
||||||
(package! auto-compile)
|
(package! auto-compile)
|
||||||
(package! highlight-quoted)
|
(package! highlight-quoted)
|
||||||
(package! macrostep)
|
(package! macrostep)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue