Skip to content

Commit

Permalink
refactor(tools): make use of :unless
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 30, 2023
1 parent 9e15401 commit b04adb1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions modules/me-tools.el
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,9 @@
(use-package docker-compose-mode
:straight t)

(when (+emacs-features-p 'tree-sitter)
(push '(tree-sitter dockerfile-mode) minemacs-disabled-packages))

(use-package dockerfile-mode
:straight t)
:straight t
:unless (+emacs-features-p 'tree-sitter))

(use-package systemd
:straight (systemd :build (:not compile)))
Expand Down

0 comments on commit b04adb1

Please sign in to comment.