mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 19:43:47 -05:00
@@ -101,8 +101,8 @@ endfunction
|
|||||||
function! s:uniq(list)
|
function! s:uniq(list)
|
||||||
let processed = []
|
let processed = []
|
||||||
for e in a:list
|
for e in a:list
|
||||||
if index(a:list, e) == -1
|
if index(processed, e) == -1
|
||||||
call add(a:list, e)
|
call add(processed, e)
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
return processed
|
return processed
|
||||||
|
|||||||
Reference in New Issue
Block a user