diff --git a/init.el b/init.el index afcab6b..e898bc6 100644 --- a/init.el +++ b/init.el @@ -534,6 +534,17 @@ COMMAND and COMINT are like `compile'." (when (not my/project-run-command) (setq my/project-run-command command))))) +;; nxml +(use-package nxml-mode + :ensure nil + :hook (nxml-mode . my/-nxml-setup) + :init + (defun my/-nxml-setup () + "Setup `nxml-mode'." + (sgml-electric-tag-pair-mode 1) + (setq-local completion-at-point-functions + '(rng-completion-at-point cape-file)))) + ;; rust (use-package rust-mode)