mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:30:04 +08:00
fix(denite): fix SPC i s
in denite layer
This commit is contained in:
parent
95e2352940
commit
d932b16def
@ -37,6 +37,13 @@ function! SpaceVim#layers#denite#config() abort
|
||||
|
||||
let g:_spacevim_mappings_space.i = {'name' : '+Insertion'}
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['i', 'u'], 'Denite unicode', 'search-and-insert-unicode', 1)
|
||||
if g:spacevim_snippet_engine ==# 'neosnippet'
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['i', 's'], 'Denite neosnippet', 'insert snippets', 1)
|
||||
elseif g:spacevim_snippet_engine ==# 'ultisnips'
|
||||
" @todo ultisnips do not support denite now.
|
||||
" https://github.com/SirVer/ultisnips/issues/869
|
||||
" call SpaceVim#mapping#space#def('nnoremap', ['i', 's'], 'Denite ultisnips', 'insert snippets', 1)
|
||||
endif
|
||||
|
||||
|
||||
let lnum = expand('<slnum>') + s:lnum - 1
|
||||
|
Loading…
Reference in New Issue
Block a user