Skip to content

Commit

Permalink
Update xml.vim (#28)
Browse files Browse the repository at this point in the history
Now using `shiftwidth()` for indention number
  • Loading branch information
alok authored and sbdchd committed Jan 9, 2017
1 parent f36d2dc commit a39debd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/neoformat/formatters/xml.vim
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function! neoformat#formatters#xml#tidy() abort
\ 'args': ['-quiet',
\ '-xml',
\ '--indent auto',
\ '--indent-spaces 4',
\ '--indent-spaces ' . shiftwidth(),
\ '--vertical-space yes',
\ '--tidy-mark no'
\ ],
Expand Down

0 comments on commit a39debd

Please sign in to comment.