Closed kacoroski closed 4 months ago
Thank you for your contribution. I would like to ask you to use single dot (.
) instead of double dots (..
), because the latter does not work on older vim versions (I still keep a vim v7.4 on one of my Windows laptops for reference), and even if it worked, the current slimv code uses single dot everywhere else for string concatenation.
Ok, I have changed .. to . for the concatenation.
The main issue is that it was doing case sensitive searching so it never worked for format characters (e.g. ~% or ~R). Fixed this by changing == to ==?. Second part was for the partial searches to be case insensitive so ~A and ~a both work. Fixed this by adding \c to the end of the match string. I used '..' which I understand is limited to version 8.1.1114 in Apr 2019. Not sure if this will be a problem. Now ,h works for ~a, ~A, ~%, etc.