1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 00:40:05 +08:00

Fix SPC x l u ignorecase

This commit is contained in:
Shidong Wang 2021-04-10 21:59:36 +08:00
parent 5268e5210a
commit e4c6bf464a

View File

@ -620,7 +620,7 @@ function! s:uniquify_lines(visual, ignorecase) abort
let rst = []
for l in range(start_line, end_line)
if index(rst, getline(l)) ==# -1
call add(rst, getline(l))
call add(rst, getline(l), 0, a:ignorecase)
endif
endfor
call s:BUFFER.buf_set_lines(bufnr('.'), start_line-1 , end_line, 0, rst)