commit 87a20b4d0e1460dc2c79ec1ac65c5696f8b84a84 parent cb2e1af2b2362b96f18eedeabbf5e472b1687705 Author: Alex Balgavy <alexander.balgavy@spaceapplications.com> Date: Thu, 18 Apr 2024 18:58:08 +0200 emacs: outline for yaml mode Diffstat:
M | emacs/config.org | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -3202,6 +3202,16 @@ Also, counsel doesn't provide some keybindings that I can get from helpful. :config (vdirel-switch-repository "~/.local/share/contacts/default")) #+end_src +** Yaml +#+begin_src emacs-lisp + (use-package yaml-mode + :commands yaml-mode + :init + (add-hook 'yaml-mode-hook + (lambda () + (setq-local outline-regexp (rx (* blank))) + (outline-minor-mode)))) +#+end_src * Override some faces #+begin_src emacs-lisp (with-eval-after-load 'org-faces