| File doc/inccomplete.txt changed (mode: 100644) (index eef792f..9f804ff) |
| 1 |
|
*inccomplete.txt* For Vim version 7.3. Last change: 2012 Sep 02 |
|
|
1 |
|
*inccomplete.txt* For Vim version 7.3. Last change: 2012 Sep 09 |
| 2 |
2 |
|
|
| 3 |
3 |
|
|
| 4 |
4 |
inccomplete plugin documentation by xaizek |
inccomplete plugin documentation by xaizek |
| |
| ... |
... |
typing subdirectory name and a slash (and optionally beginning of file name). |
| 49 |
49 |
|
|
| 50 |
50 |
When |g:inccomplete_showdirs| is true, completion list contains directories |
When |g:inccomplete_showdirs| is true, completion list contains directories |
| 51 |
51 |
and it will popup after hitting forward or backward slash key. Directories |
and it will popup after hitting forward or backward slash key. Directories |
| 52 |
|
can be distinguished by the ending slash. Closing bracket is never added |
|
| 53 |
|
to directory completion items. |
|
|
52 |
|
can be distinguished by the ending slash. Directories which names start with |
|
53 |
|
a dot are ignored. Closing bracket is never added to directory completion |
|
54 |
|
items. |
| 54 |
55 |
|
|
| 55 |
56 |
============================================================================== |
============================================================================== |
| 56 |
57 |
2. Configuration *inccomplete-configuration* |
2. Configuration *inccomplete-configuration* |
| File plugin/inccomplete.vim changed (mode: 100644) (index df80a5f..de48aec) |
| 1 |
1 |
" Name: inccomplete |
" Name: inccomplete |
| 2 |
2 |
" Author: xaizek <xaizek@lavabit.com> |
" Author: xaizek <xaizek@lavabit.com> |
| 3 |
|
" Version: 1.6.30 |
|
|
3 |
|
" Version: 1.6.31 |
| 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! ICComplete(findstart, base) |
| 138 |
138 |
endif |
endif |
| 139 |
139 |
|
|
| 140 |
140 |
if isdirectory(l:increc[0].'/'.l:increc[1]) |
if isdirectory(l:increc[0].'/'.l:increc[1]) |
|
141 |
|
let l:slashidx = strridx(l:increc[1], l:sl2) |
|
142 |
|
if l:increc[1][l:slashidx + 1] == '.' |
|
143 |
|
continue |
|
144 |
|
endif |
|
145 |
|
|
| 141 |
146 |
let l:strend = g:inccomplete_appendslash ? l:sl2 : '' |
let l:strend = g:inccomplete_appendslash ? l:sl2 : '' |
| 142 |
147 |
let l:slash = l:sl2 |
let l:slash = l:sl2 |
| 143 |
148 |
else |
else |