Skip to content

Commit

Permalink
tweak: register package-specific build functions
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 3, 2023
1 parent 940fdaa commit ef635c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/me-docs.el
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
:custom
(pdf-view-display-size 'fit-page)
(pdf-view-image-relief 2)
(pdf-view-use-scaling t))
(pdf-view-use-scaling t)
:init
(+register-build-function #'pdf-tools-install))

(use-package nov
:straight t
Expand Down
1 change: 1 addition & 0 deletions modules/me-eaf.el
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
;; Evil integration doesn't work, start `eaf-mode' in `emacs-state'.
(with-eval-after-load 'evil
(evil-set-initial-state 'eaf-mode 'emacs))
(+register-build-function #'eaf-install-and-update)
:commands eaf-file-sender-qrcode-in-dired +eaf-open-mail-as-html +browse-url-eaf eaf-open-browser
:custom
;; Generic
Expand Down
3 changes: 3 additions & 0 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@
(use-package treesit-auto
:straight (:host github :repo "renzmann/treesit-auto")
:hook (minemacs-after-startup . global-treesit-auto-mode)
:commands treesit-auto-install-all
:custom
(treesit-auto-install 'prompt)
:init
(+register-build-function #'treesit-auto-install-all)
:config
;; Install all languages when calling `treesit-auto-install-all'
(setq treesit-language-source-alist (treesit-auto--build-treesit-source-alist))))
Expand Down
1 change: 1 addition & 0 deletions modules/me-tools.el
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
`(" \\*Install vterm\\*"
(display-buffer-no-window)
(allow-no-window . t)))
(+register-build-function #'vterm-module-compile)
:custom
(vterm-always-compile-module t)
(vterm-max-scrollback 5000)
Expand Down

0 comments on commit ef635c4

Please sign in to comment.