Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible issues with auto-pairs #9

Closed
xu-cheng opened this issue Sep 12, 2018 · 2 comments
Closed

Compatible issues with auto-pairs #9

xu-cheng opened this issue Sep 12, 2018 · 2 comments

Comments

@xu-cheng
Copy link

Hi, thanks for the plugin. I wonder if there is a possibility to make this plugin to be compatible with auto-pairs

Some related information can be found at:

However I am not sure what the equivalent keymap for ncm2-ultisnips should be.

@smutch
Copy link

smutch commented Jan 24, 2019

I'm not sure if this is just specific to my config, but I was able to get things working with:

inoremap <silent> <expr> <CR> ncm2_ultisnips#expand_or("\<CR>\<C-R>=AutoPairsReturn()<CR>", 'n')

This solution has had minimal testing on my part and may not work in all situations though...

@roxma
Copy link
Member

roxma commented Jan 24, 2019

Duplicated ncm2/ncm2#129

@roxma roxma closed this as completed Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants