VisualIncrement swallows hyphens
ethagnawl opened this issue · 2 comments
ethagnawl commented
Before:
id="thing-0"
id="thing-0"
id="thing-0"
id="thing-0"
id="thing-0"
After:
id="thing-0"
id="thing1"
id="thing2"
id="thing3"
id="thing4"
VIM 7.4 on Debian 8.6
triglav commented
The plugin uses Vims own increment functionality, therefor I do not consider this to be a bug.
Vim sees the "-0" as a "minus and zero", rather than a hyphen.
Consider following example.
Before:
id="thing-3"
id="thing-3"
id="thing-3"
id="thing-3"
id="thing-3"
After:
id="thing-3"
id="thing-2"
id="thing-1"
id="thing0"
id="thing1"