Wansmer / treesj

Neovim plugin for splitting/joining blocks of code
MIT License
1k stars 29 forks source link

[Feature Request]: Toggle between <a></a> and <a /> (if tag is empty) in HTML/JSX etc. #110

Closed phelipetls closed 1 year ago

phelipetls commented 1 year ago

Does it make sense to have this feature? Emmet has it, it's called https://docs.emmet.io/actions/split-join-tag/

Wansmer commented 1 year ago

It's already possible to tune with format_tree option, but I'm not sure if that should be in default html's preset. Because it is not a split/join, but formatting or replacing nodes.