Reconsider which modules I want enabled

Make some conditional on the system state.
This commit is contained in:
TEC 2021-02-18 02:48:21 +08:00
parent 12bd28c1cd
commit 3c456a891f
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 7 additions and 6 deletions

View File

@ -511,6 +511,7 @@ I reckon enabling half the modules Doom provides should do it.
doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs
doom-quit ; DOOM quit-message prompts when you quit Emacs
(emoji +unicode) ; 🙂
;;fill-column ; a `fill-column' indicator
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra ; quick documentation for related commands
@ -571,16 +572,16 @@ vterm ; the best terminal emulation in Emacs
#+name: doom-checkers
#+begin_src emacs-lisp
syntax ; tasing you for every semicolon you forget
spell ; tasing you for misspelling mispelling
(:if (executable-find "aspell") spell) ; tasing you for misspelling mispelling
grammar ; tasing grammar mistake every you make
#+end_src
#+name: doom-tools
#+begin_src emacs-lisp
ansible ; a crucible for infrastructure as code
debugger ; FIXME stepping through code, to help you add bugs
;;debugger ; FIXME stepping through code, to help you add bugs
;;direnv ; be direct about your environment
;;docker ; port everything to containers
docker ; port everything to containers
;;editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
@ -633,10 +634,10 @@ ess ; emacs speaks statistics
;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3
;;(go +lsp) ; the hipster dialect
(haskell +dante) ; a language that's lazier than I am
;; (haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ;
;;json ; At least it ain't XML
json ; At least it ain't XML
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB
@ -691,7 +692,7 @@ I couldn't resist the Email and Feed modules.
#+name: doom-email
#+begin_src emacs-lisp
(mu4e +org +gmail)
(:if (executable-find "mu") (mu4e +org +gmail))
;;notmuch
;;(wanderlust +gmail)
#+end_src