File plugin/inccomplete.vim changed (mode: 100644) (index 7b646ce..0d9600b) |
1 |
1 |
" Name: inccomplete |
" Name: inccomplete |
2 |
2 |
" Author: xaizek <xaizek@gmail.com> |
" Author: xaizek <xaizek@gmail.com> |
3 |
|
" Version: 1.6.25 |
|
|
3 |
|
" Version: 1.6.26 |
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. |
|
... |
... |
endfunction |
55 |
55 |
" we do. |
" we do. |
56 |
56 |
function! ICCompleteInc(bracket) |
function! ICCompleteInc(bracket) |
57 |
57 |
if a:bracket == '/' || a:bracket == '\' |
if a:bracket == '/' || a:bracket == '\' |
58 |
|
if getline('.') =~ '^\s*#\s*include\s*["<].*$' |
|
|
58 |
|
if getline('.') =~ '^\s*#\s*include\s*["<][^">]*$' |
59 |
59 |
return a:bracket."\<c-x>\<c-o>" |
return a:bracket."\<c-x>\<c-o>" |
60 |
60 |
endif |
endif |
61 |
61 |
endif |
endif |