File plugin/inccomplete.vim changed (mode: 100644) (index ab9ac54..d87b171) |
1 |
1 |
" Name: inccomplete |
" Name: inccomplete |
2 |
|
" Author: xaizek <xaizek@openmailbox.org> |
|
3 |
|
" Version: 1.7.40 |
|
|
2 |
|
" Author: xaizek <xaizek@openmailbox.org> |
|
3 |
|
" Version: 1.7.41 |
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:ICFindIncludes(user, pathlst) |
416 |
416 |
" prepare a:pathlst by forming regexps |
" prepare a:pathlst by forming regexps |
417 |
417 |
for l:i in range(len(a:pathlst)) |
for l:i in range(len(a:pathlst)) |
418 |
418 |
let l:path = a:pathlst[i] |
let l:path = a:pathlst[i] |
419 |
|
if l:path[-1:] == '/' |
|
|
419 |
|
if l:path != '/' && l:path[-1:] == '/' |
420 |
420 |
let l:path = l:path[:-2] |
let l:path = l:path[:-2] |
421 |
421 |
endif |
endif |
422 |
422 |
let g:inccomplete_cache[l:path] = [] |
let g:inccomplete_cache[l:path] = [] |