alek-sys / sublimetext_indentxml

Plugin for Sublime Text editor for reindenting XML and JSON files
MIT License
534 stars 135 forks source link

Settings for indenting using tabs/spaces #61

Open KevinSheedy opened 10 years ago

KevinSheedy commented 10 years ago

Hi Nikolajus I noticed that for indenting xml, the plugin uses tabs but for json it uses 4 spaces. I've added Settings to make this configurable. I've left the defaults the way they were.

"json_indent" : 4,
"xml_indent" : "\t"

What do you think?

Thanks, Kev