Steps to reproduce
If I have 'commentstring' set to /*\ %s\ */, pressing gcc on string results in /* string */, which is expected. However if 'commentstring' is /*%s*/ (which is default), I get the same result, i.e. /* string */. Shouldn't it be /*string*/ instead?
Expected behaviour
.
Version of Vim
9.1.443
Environment
.
Logs and stack traces
No response
Steps to reproduce
If I have
'commentstring'set to/*\ %s\ */, pressinggcconstringresults in/* string */, which is expected. However if'commentstring'is/*%s*/(which is default), I get the same result, i.e./* string */. Shouldn't it be/*string*/instead?Expected behaviour
.
Version of Vim
9.1.443
Environment
.
Logs and stack traces
No response