Support multiple commentstrings
It would be great when commentary could recognize multiple ways of how a comments can be done in a language. This should only work to comment lines out; commenting should use a single commentstring.
As an example see the following comment in C before calling commentary:
// no comment
After using gcc on that line:
no comment
After using gcc a second time:
/* no comment */
At the moment, using gcc on the first comment ends in:
/* // no comment */
+1
There's comments, which has a list of comment styles.
@somini did you mean to link to another plugin?
No, comments is a Vim setting. This is for the configuration per filetype, not the implementation.