You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.
How to directly autocompletion when I typed <cr>? when i typed <cr> ,the annoying messages below just showed.I can't get the expand expression until i typed 1. I don't konw if it could be fix by plugin ultisnips or nvim-completion-manager.
here is my nvim configure
" fzf.vim and ultisnips-------------------------------------------------------------------{{{
set rtp+=/usr/local/opt/fzf
" ultisnips
let g:UltiSnipsSnippetDirectories = ['/Users/qj/.config/nvim/UltiSnips']
" set rtp+=/Users/qj/.config/nvim/ultisnips
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
let g:UltiSnipsExpandTrigger = '<C-j>'
let g:UltiSnipsJumpForwardTrigger = '<C-f>'
let g:UltiSnipsJumpBackwardTrigger = '<C-b>'
" let g:UltiSnipsListSnippets="<c-s-j>"
" If you want :UltiSnipsEdit to split your window.
let g:UltiSnipsEditSplit="vertical"
"}}}
" nvim-completion-manager------------------------------------------------------------------{{{
imap <expr> <CR> (pumvisible() ? "\<c-y>\<Plug>(expand_or_nl)" : "<Plug>delimitMateCR")
imap <expr> <Plug>(expand_or_nl) (cm#completed_is_snippet() ? "\<C-j>":"\<CR>")
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
"}}}
The text was updated successfully, but these errors were encountered:
How to directly autocompletion when I typed
<cr>
? when i typed<cr>
,the annoying messages below just showed.I can't get the expand expression until i typed 1. I don't konw if it could be fix by plugin ultisnips or nvim-completion-manager.here is my nvim configure
The text was updated successfully, but these errors were encountered: