echasnovski / mini.nvim

Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
MIT License
4.89k stars 186 forks source link

mini.comment to be able to beautify comments and texts #1225

Open cliarena opened 2 days ago

cliarena commented 2 days ago

Contributing guidelines

Module(s)

mini.comment

Description

first. thank you so much for all the work you do.

comments are so important to document code. so i think it's a good addition to mini.comment to be able to beautify comments and plain texts this is how comment-box.nvim looks like comment-box.nvim

better-comments

echasnovski commented 2 days ago

Thanks for the suggestion!

Yes, I had this idea about a year or so ago, but decided to postpone because there are other more pressing things to implement.

What I had in mind is either a separate module (something like 'mini.box') or a separate function for 'mini.misc' (like "enter comment box"). But maybe a 'mini.comment' can also be a good place for this.