diff --git a/oni-nxml/oni-nxml.el b/oni-nxml/oni-nxml.el index 07c1c87..0ba3390 100644 --- a/oni-nxml/oni-nxml.el +++ b/oni-nxml/oni-nxml.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2019.1210.225630 -;; Package-Requires: (oni-yasnippet) +;; Version: 2020.0228.102451 +;; Package-Requires: (oni-yasnippet reformatter) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -52,6 +52,11 @@ (add-hook 'nxml-mode-hook 'oni-nxml--auto-fill-mode) +(reformatter-define oni-nxml-xmllint + :program "xmllint" + :args '("--nonet" "--format" "-") + :lighter "") + ;;;###autoload (add-to-list 'auto-mode-alist '("\\.targets\\'" . nxml-mode)) ;;;###autoload