osyo-manga/vim-over

incorrect escaping if delimiter character different from /

Opened this issue · 6 comments

For example :%substitute:\va:b:cgI will incorrectly highlight a:b.

Thanks for issues.
However, it did not reproduce. :(

Sorry, the mistake is rather that

:%substitute:\va::b::cgI will incorrectly highlight a: with b:, whereas Vim throws an error.

Please use separator /.
:%substitute/\va:/b:/cgI

yeah that's the default. But Vim accepts : as well. Just to point out that inconsistency to Vim.

Sorry but there is no way to do that because of Vim's limitation. Please just use /.

Ok. Just wanted to file it.