mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-01 20:46:12 +01:00
22 lines
453 B
Org Mode
22 lines
453 B
Org Mode
|
: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
|