mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 17:46:14 +01:00
f8fa60b534
Signed-off-by: Magic_RB <magic_rb@redalder.org>
25 lines
471 B
Org Mode
25 lines
471 B
Org Mode
:PROPERTIES:
|
|
:header-args:emacs-lisp: :comments link :results none
|
|
:ID: 09190c4d-da4c-46e5-a57c-7e88c1a85ed8
|
|
:END:
|
|
#+title: Yaml
|
|
#+filetags: emacs-load
|
|
|
|
Install ~yaml-mode~.
|
|
|
|
#+BEGIN_SRC emacs-lisp :noweb yes
|
|
(use-package yaml-mode
|
|
:straight t
|
|
:mode
|
|
<<mode-hooks>>)
|
|
#+END_SRC
|
|
|
|
Enable ~yaml-mode~ for multiple file extensions.
|
|
|
|
#+name: mode-hooks
|
|
#+begin_src emacs-lisp :tangle no
|
|
(("\\.yml\\'" . yaml-mode)
|
|
("\\.yaml\\'" . yaml-mode))
|
|
#+end_src
|
|
|