Skip to content

Commit

Permalink
fix(docker): better handling of Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 31, 2023
1 parent d3b0976 commit 69544e2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/me-tools.el
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@
(use-package docker-compose-mode
:straight t)

(unless (+emacs-features-p 'tree-sitter)
;; Emacs 29 comes with `dockerfile-ts-mode'
(if (+emacs-features-p 'tree-sitter)
;; Emacs 29 comes with `dockerfile-ts-mode'
(use-package dockerfile-ts-mode
:straight (:type built-in)
:mode "/Dockerfile\\'")
(use-package dockerfile-mode
:straight t))

Expand Down

0 comments on commit 69544e2

Please sign in to comment.