diff --git a/emacs/.emacs.d/config/init-xml.el b/emacs/.emacs.d/config/init-xml.el index e9a0e0c..fcd7669 100644 --- a/emacs/.emacs.d/config/init-xml.el +++ b/emacs/.emacs.d/config/init-xml.el @@ -15,6 +15,7 @@ (shell-command-on-region start end "xmllint --format -" nil t)) (t (sgml-pretty-print start end))))) (general-def nxml-mode-map "C-M-\\" #'xml-pretty-print) + (add-hook 'nxml-mode-hook #'hs-minor-mode) (add-to-list 'hs-special-modes-alist '(nxml-mode "