rhysd / vim-fixjson

Vim plugin for fixjson; a JSON fixer for Humans
https://github.com/rhysd/fixjson
25 stars 1 forks source link

Support option to config indent size #2

Closed hanh090 closed 3 years ago

rhysd commented 3 years ago

Since indent level is automatically detected by fixjson command here: https://github.com/rhysd/fixjson/blob/acd98048a2f4f1da8c9cb77300d5f25820595fe6/index.ts#L144

-i should not be added when user doesn't specify the indent level. But I understood your requirement. I'll add the capability to specify indent level explicitly.

rhysd commented 3 years ago

I added the feature at 705cd5d. Please update this plugin to the latest and try the variable.