File plugin/inccomplete.vim changed (mode: 100644) (index a51a4ae..df80a5f) |
1 |
1 |
" Name: inccomplete |
" Name: inccomplete |
2 |
2 |
" Author: xaizek <xaizek@lavabit.com> |
" Author: xaizek <xaizek@lavabit.com> |
3 |
|
" Version: 1.6.29 |
|
|
3 |
|
" Version: 1.6.30 |
4 |
4 |
" License: Same terms as Vim itself (see :help license) |
" License: Same terms as Vim itself (see :help license) |
5 |
5 |
" |
" |
6 |
6 |
" See :help inccomplete for documentation. |
" See :help inccomplete for documentation. |
|
... |
... |
function! s:ICFilterIncLst(user, inclst, base) |
200 |
200 |
|
|
201 |
201 |
" filter by filename |
" filter by filename |
202 |
202 |
let l:filebegin = a:base[strridx(a:base, l:sl2) + 1:] |
let l:filebegin = a:base[strridx(a:base, l:sl2) + 1:] |
203 |
|
let l:inclst = filter(copy(a:inclst), 'v:val[1] =~ "^".l:filebegin') |
|
|
203 |
|
let l:inclst = filter(copy(a:inclst), |
|
204 |
|
\ '!empty(v:val[1]) && v:val[1] =~ "^".l:filebegin') |
204 |
205 |
|
|
205 |
206 |
" correct slashes in paths |
" correct slashes in paths |
206 |
207 |
if l:sl1 == '/' |
if l:sl1 == '/' |