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:
Henrik Lissner 2019-03-13 01:55:50 -04:00
parent 5c7da455f8
commit d868f5fd10
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 13 additions and 10 deletions

View file

@ -208,7 +208,7 @@ If any hook returns non-nil, all hooks after it are ignored.")
(which-key-mode +1))
;; `hydra'
;;;###package hydra
(setq lv-use-seperator t)

View file

@ -322,11 +322,10 @@ read-only or not file-visiting."
;;
;;; Third party packages
;; `avy'
;;;###package avy
(setq avy-all-windows nil
avy-background t)
;; `all-the-icons'
(def-package! all-the-icons
: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)
@ -342,25 +341,27 @@ read-only or not file-visiting."
all-the-icons-wicon all-the-icons-alltheicon))
(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 '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
:hook ((prog-mode conf-mode) . highlight-numbers-mode)
:config (setq highlight-numbers-generic-regexp "\\_<[[:digit:]]+\\(?:\\.[0-9]*\\)?\\_>"))
;; `highlight-escape-sequences'
;;;###package highlight-escape-sequences
(def-package! highlight-escape-sequences
:hook ((prog-mode conf-mode) . highlight-escape-sequences-mode))
;; `rainbow-delimiters' --- helps us distinguish stacked delimiter pairs.
;; Especially in parentheses-drunk languages like Lisp.
;;;###package rainbow-delimiters
;; Helps us distinguish stacked delimiter pairs, especially in parentheses-drunk
;; languages like Lisp.
(setq rainbow-delimiters-max-face-count 3)
;; `visual-fill-column' --- for a distractions-free-like UI, that dynamically
;; resizes margins and can center a buffer.
;;;###package visual-fill-column
;; For a distractions-free-like UI, that dynamically resizes margins and can
;; center a buffer.
(setq visual-fill-column-center-text t
visual-fill-column-width
;; take Emacs 26 line numbers into account

View file

@ -1,6 +1,8 @@
;; -*- no-byte-compile: t; -*-
;;; lang/emacs-lisp/packages.el
(package! elisp-mode :built-in t)
(package! auto-compile)
(package! highlight-quoted)
(package! macrostep)