mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
Add ~dockerfile-mode~
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
95e8416a55
commit
ed8afe1e86
21
emacs-lisp/dockerfile.org
Normal file
21
emacs-lisp/dockerfile.org
Normal 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
|
Loading…
Reference in a new issue