;;; siren-yaml.el --- jimeh's Emacs Siren: yaml-mode configuration. ;;; Commentary: ;; Basic configuration for yaml-mode. ;;; Code: (require 'siren-programming) (use-package yaml-mode :mode "\\.yml\\'" "\\.yaml\\'" :bind (:map yaml-mode-map ("RET" . newline-and-indent)) :hook (yaml-mode . siren-yaml-mode-setup) :init (defun siren-yaml-mode-setup () (siren-prog-mode-setup) (setq tab-width 2 whitespace-action '(auto-cleanup)) (highlight-indentation-set-offset 2) (highlight-indentation-current-column-mode) (subword-mode +1))) (provide 'siren-yaml) ;;; siren-yaml.el ends here