Fix comparison to be case sensitive

Closes #836.
This commit is contained in:
Andy Stewart
2022-05-24 09:24:40 +01:00
parent 719d4ec06a
commit ded11946c0

View File

@@ -162,7 +162,7 @@ function! s:common_prefix(a, b)
return -1 return -1
endif endif
for i in range(len) for i in range(len)
if a:a[i:i] != a:b[i:i] if a:a[i:i] !=# a:b[i:i]
return i - 1 return i - 1
endif endif
endfor endfor