vim-fixjson icon indicating copy to clipboard operation
vim-fixjson copied to clipboard

Can I keep the comment when formatting?

Open seyoatda opened this issue 5 years ago • 1 comments

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?

seyoatda avatar Jan 27 '21 02:01 seyoatda

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

qadzek avatar Dec 15 '24 16:12 qadzek