[gnome-builder/wip/slaf/beautifier: 19/21] beautifier plugin: add xmllint --format



commit 9d5d93ba31bd2808676b4fc8504bc4013ce4243a
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Mon Dec 5 22:07:32 2016 +0100

    beautifier plugin: add xmllint --format

 plugins/beautifier/Makefile.am         |    1 +
 plugins/beautifier/data/xml/config.ini |   10 ++++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/plugins/beautifier/Makefile.am b/plugins/beautifier/Makefile.am
index e44941b..e20b1fa 100644
--- a/plugins/beautifier/Makefile.am
+++ b/plugins/beautifier/Makefile.am
@@ -46,6 +46,7 @@ nobase_resource_DATA =             \
        data/objc/config.ini       \
        data/objc/objc.cfg         \
        data/python/config.ini     \
+       data/xml/config.ini        \
        $(NULL)
 
 EXTRA_DIST += $(nobase_resource_DATA)
diff --git a/plugins/beautifier/data/xml/config.ini b/plugins/beautifier/data/xml/config.ini
new file mode 100644
index 0000000..1ea92e6
--- /dev/null
+++ b/plugins/beautifier/data/xml/config.ini
@@ -0,0 +1,10 @@
+# XML language config file
+
+[global]
+
+default = xmllint-format
+
+[xmllint-format]
+
+command-pattern = xmllint --noblanks --format @s@
+name = xmllint format


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]