I'm trying to create an abbreviations to insert a comment and to insert a TODO comment. I wrote them as following:
iab co /*__*/<Left><Left><Left>
This one produces the following (where it has three spaces)
/*__|_*/
And for the TODO comment, I wrote it like this:
iab td /*_TODO:_*/<Left><Left><Left>
This one produces
/* TODO:____|_*/
For some reason, vim adds extra spaces when interpreting the abbreviations. Could someone tell me why does it do this and how can I solve it?
Note: I replaced spaces with underscores for clarity.