vim-fixjson
vim-fixjson copied to clipboard
Can I keep the comment when formatting?
this plugin is very useful , but when I enter the FixJson command, the comments was removed.
Is there a setting to keep the comments when formatting?
Such a setting would be very useful indeed.
For now, I've decided to turn off auto formatting and run :FixJson manually on files when I know there won't be any comments: let g:fixjson_fix_on_save = 0
See also https://github.com/rhysd/fixjson/issues/17