Add ~dockerfile-mode~

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-09-16 19:36:30 +02:00
parent 95e8416a55
commit ed8afe1e86

21
emacs-lisp/dockerfile.org Normal file
View file

@ -0,0 +1,21 @@
:PROPERTIES:
:header-args:emacs-lisp: :comments link :results none
:ID: efaf9e11-dfee-4176-b6e2-4e900e524f51
:END:
#+title: Dockerfile
#+filetags: emacs-load
Install ~dockerfile-mode~.
#+BEGIN_SRC emacs-lisp :noweb yes
(use-package dockerfile-mode
:straight t
:mode <<mode-hooks>>)
#+END_SRC
Hook ~dockerfile-mode~ on common files.
#+name: mode-hooks
#+begin_src emacs-lisp :tangle no
("Dockerfile\\'" . dockerfile-mode)
#+end_src