refactor: doom-module: conform variables to conventions

- Rename doom--empty-module-context to doom-module--empty-context.
- Nest doom-module-context symbol plist in its 'keys' property. (By
  convention, Doom uses keywords as keys in most places. Let's be
  consistent)
- Updates all uses of doom-module--context-field and
  doom-module-context-get.
This commit is contained in:
Henrik Lissner 2024-02-02 18:58:34 -05:00
parent fc6934c240
commit 77ea4013dd
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 18 additions and 15 deletions

View file

@ -1352,7 +1352,7 @@ between the two."
))
;;; Custom org modules
(dolist (flag (doom-module-context-get 'flags))
(dolist (flag (doom-module-context-get :flags))
(load! (concat "contrib/" (substring (symbol-name flag) 1)) nil t))
;; Add our general hooks after the submodules, so that any hooks the