Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit 4d51a32

Browse files
author
Ari Archer
committed
merged google#93
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
1 parent f990efa commit 4d51a32

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

instant/flags.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ call s:plugin.Flag('shfmt_options', ['-i', '4', '-s'])
130130
" takes no args and returns a string or a list.
131131
call s:plugin.Flag('shfmt_executable', 'shfmt')
132132

133+
""
134+
" The path to the xmllint executable xmllint --format -
135+
call s:plugin.Flag('xmllint_executable', 'xmllint')
136+
133137
""
134138
" Command line arguments to feed prettier. Either a list or callable that
135139
" takes no args and returns a list with command line arguments.

plugin/register.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,5 @@ call s:registry.AddExtension(codefmt#isort#GetFormatter())
7575
call s:registry.AddExtension(codefmt#yapf#GetFormatter())
7676
call s:registry.AddExtension(codefmt#rustfmt#GetFormatter())
7777
call s:registry.AddExtension(codefmt#shfmt#GetFormatter())
78+
call s:registry.AddExtension(codefmt#xmllint#GetFormatter())
79+

0 commit comments

Comments
 (0)