mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Add ~yaml-mode~
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
8e9f6e6334
commit
f8fa60b534
24
emacs-lisp/yaml.org
Normal file
24
emacs-lisp/yaml.org
Normal file
|
@ -0,0 +1,24 @@
|
|||
: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
|
||||
|
Loading…
Reference in a new issue