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