@@ -194,7 +194,7 @@
Loading
194 194
  elseif g:spacevim_snippet_engine ==# 'ultisnips'
195 195
    call SpaceVim#mapping#space#def('nnoremap', ['i', 's'], 'Unite ultisnips', 'insert snippets', 1)
196 196
  endif
197 -
  if !empty(g:_spacevim_key_sequence)
197 +
  if !empty(g:_spacevim_key_sequence) && g:_spacevim_key_sequence !=# 'nil'
198 198
    if g:spacevim_escape_key_binding !=# g:_spacevim_key_sequence
199 199
      augroup spacevim_layer_autocomplete
200 200
        autocmd!

@@ -125,7 +125,9 @@
Loading
125 125
" public settings
126 126
call deoplete#custom#source('_', 'matchers', ['matcher_full_fuzzy'])
127 127
call deoplete#custom#source('file/include', 'matchers', ['matcher_head'])
128 -
if !empty(g:_spacevim_key_sequence) && g:spacevim_escape_key_binding !=# g:_spacevim_key_sequence
128 +
if !empty(g:_spacevim_key_sequence)
129 +
      \ && g:_spacevim_key_sequence !=# 'nil'
130 +
      \ && g:spacevim_escape_key_binding !=# g:_spacevim_key_sequence
129 131
  exe printf('inoremap <silent><expr>%s deoplete#manual_complete()', g:_spacevim_key_sequence)
130 132
endif
131 133

@@ -69,6 +69,8 @@
Loading
69 69
inoremap <expr><C-y>  neocomplete#close_popup()
70 70
inoremap <expr><C-e>  neocomplete#cancel_popup()
71 71
72 -
if !empty(g:_spacevim_key_sequence) && g:spacevim_escape_key_binding !=# g:_spacevim_key_sequence
72 +
if !empty(g:_spacevim_key_sequence)
73 +
      \ && g:_spacevim_key_sequence !=# 'nil'
74 +
      \ && g:spacevim_escape_key_binding !=# g:_spacevim_key_sequence
73 75
  exe printf('imap <silent>%s <Plug>(neocomplete_auto_refresh)', g:_spacevim_key_sequence)
74 76
endif
Files Coverage
.SpaceVim.d/autoload/SpaceVim 0.00%
autoload 3.52%
bundle 3.28%
config 32.81%
ftplugin 23.33%
syntax 94.58%
.ci/common/github_commenter.vim 0.00%
after/syntax/help.vim 0.00%
colors/SpaceVim.vim 99.21%
filetype.vim 100.00%
ginit.vim 0.00%
init.vim 100.00%
test/vimrc 100.00%
vimrc 30.77%
Project Totals (1539 files) 3.74%
11236.17
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.16
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.18
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.13
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11238.14
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.19
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11238.16
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11238.15
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11238.18
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11238.17
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.5
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.4
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.7
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.6
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.9
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.8
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.10
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.11
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11236.15
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
11238.19
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux