Skip to content

Instantly share code, notes, and snippets.

@alazycoder101
Last active December 25, 2022 11:34
Show Gist options
  • Save alazycoder101/c1e6a4523ea2e182a99ddde63b32095c to your computer and use it in GitHub Desktop.
Save alazycoder101/c1e6a4523ea2e182a99ddde63b32095c to your computer and use it in GitHub Desktop.
vim-endwise conflict with COC
let g:endwise_no_mappings = v:true
inoremap <expr> <Plug>CustomCocCR pumvisible() ? coc#_select_confirm() : "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
imap <CR> <Plug>CustomCocCR<Plug>DiscretionaryEnd

nvim-lua/completion-nvim#202

verbose imap <CR>
  <CR>        &@<CR><SNR>63_AutoPairsReturn
        Last set from ~/.vim/plugged/auto-pairs/plugin/auto-pairs.vim line 560

After disable vim-endwise it's working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment