Closed guyru closed 9 years ago
Agreed to comment by @Oberon00, will merge when that change is done.
I've made the change @Oberon00 suggested (although in the case of single-element lists the logic was fine - the for
would have been skipped, returning a copy of the original list).
Still, the change make things more clear and was a (minor) improvement. In any case, thanks! :)
Define a custom variant of uniq() which offers interoperability for older Vim versions (< 7.4.218).