Update init.vim
This commit is contained in:
parent
30482107dc
commit
f517bea650
1
init.vim
1
init.vim
@ -52,6 +52,7 @@ inoremap <silent><expr> <TAB>
|
|||||||
\ coc#expandableOrJumpable() ? "\<C-r>=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\<CR>" :
|
\ coc#expandableOrJumpable() ? "\<C-r>=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\<CR>" :
|
||||||
\ CheckBackSpace() ? "\<TAB>" :
|
\ CheckBackSpace() ? "\<TAB>" :
|
||||||
\ coc#refresh()
|
\ coc#refresh()
|
||||||
|
inoremap <silent><expr> <CR> coc#pum#visible() ? coc#_select_confirm() : coc#refresh()
|
||||||
|
|
||||||
function! CheckBackSpace() abort
|
function! CheckBackSpace() abort
|
||||||
let col = col('.') - 1
|
let col = col('.') - 1
|
||||||
|
Loading…
Reference in New Issue
Block a user