incorrect escaping if delimiter character different from /
Opened this issue · 6 comments
Konfekt commented
For example :%substitute:\va:b:cgI
will incorrectly highlight a:b
.
osyo-manga commented
Konfekt commented
Sorry, the mistake is rather that
:%substitute:\va::b::cgI
will incorrectly highlight a:
with b:
, whereas Vim
throws an error.
osyo-manga commented
Please use separator /
.
:%substitute/\va:/b:/cgI
Konfekt commented
yeah that's the default. But Vim accepts :
as well. Just to point out that inconsistency to Vim
.
osyo-manga commented
Sorry but there is no way to do that because of Vim's limitation. Please just use /
.
Konfekt commented
Ok. Just wanted to file it.