AndrewRadev/splitjoin.vim

YAML should probably honor splitjoin_curly_brace_padding

moll opened this issue · 2 comments

moll commented

Hey, Andrew!

Thanks for your continued maintenance of Splitjoin!

I noticed the YAML joining doesn't honor splitjoin_curly_brace_padding and still inserts padding around braces. I suppose it should follow splitjoin_curly_brace_padding around https://github.com/AndrewRadev/splitjoin.vim/blob/main/autoload/sj/yaml.vim#L240.

Thanks!

Thank you for your pointing me in the right direction 👍. I've pushed a fix, let me know if it works for you and if you find any other cases.

moll commented

Hey again! Oh, thank you very much for that quick improvement. And of course it works — you're the rare soul that adds tests to your Vim plugins. Well done! :)