From 15ddb2763addcca42518a5bcfd2e3e37e018e6d1 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 5 Apr 2021 10:45:07 -0400 Subject: [PATCH] Add nXML config --- emacs/.emacs.d/config/init-xml.el | 15 +++++++++++++++ emacs/.emacs.d/init.el | 1 + 2 files changed, 16 insertions(+) create mode 100644 emacs/.emacs.d/config/init-xml.el diff --git a/emacs/.emacs.d/config/init-xml.el b/emacs/.emacs.d/config/init-xml.el new file mode 100644 index 0000000..6df946b --- /dev/null +++ b/emacs/.emacs.d/config/init-xml.el @@ -0,0 +1,15 @@ +;; -*- lexical-binding: t; -*- + +(use-package nxml-mode + :straight (:type built-in) + :defer t + :config + (add-to-list 'hs-special-modes-alist + '(nxml-mode + "\\|]*[^/]>" ;; regexp for end block + "