Skip to content

Commit 665cba4

Browse files
committed
!plugins
1 parent 5993c70 commit 665cba4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

plugins.vim

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -231,14 +231,14 @@ function! OnLoadCoc() abort
231231
endfunction
232232

233233
inoremap <silent><expr> <TAB>
234-
\ coc#pum#visible() ? coc#pum#next(1) :
235-
\ s:CheckBackspace() ? "\<Tab>" :
236-
\ coc#refresh()
237-
238-
inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
239-
inoremap <silent><expr> <CR>
240-
\ coc#pum#visible() ? coc#pum#confirm() :
241-
\ "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
234+
\ coc#pum#visible() ? coc#pum#next(1):
235+
\ CheckBackspace() ? "\<Tab>" :
236+
\ coc#refresh()
237+
inoremap <expr><S-TAB>
238+
\ coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
239+
inoremap <silent><expr> <CR>
240+
\ coc#pum#visible() ? coc#pum#confirm()
241+
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
242242
243243
" Goto / references
244244
nmap <F12> <Plug>(coc-definition)

0 commit comments

Comments
 (0)