Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

Problem with Ultisnips expand. #122

Closed
ghost opened this issue Aug 24, 2017 · 2 comments
Closed

Problem with Ultisnips expand. #122

ghost opened this issue Aug 24, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 24, 2017

I have configured:

let g:UltiSnipsExpandTrigger = "<Plug>(ultisnips_expand)"
inoremap <silent> <c-u> <c-r>=cm#sources#ultisnips#trigger_or_popup("\<Plug>(ultisnips_expand)")<cr>

as per #12 (comment).

But every time I hit C-u in empty buffer (in insert mode) instead of getting snippets list I get following error:

Error detected while processing function 
cm#sources#ultisnips#trigger_or_popup[12]..cm#sources#ultisnips#cm_refresh:
line   25:
E716: Key not present in Dictionary: startcol

When there is text before cursor, foldp for instance, instead of snippet expansion I get foldp<Plug>(ultisnips_expand) inserted unto buffer.

Is there a bug or is it down to my set up?

@roxma
Copy link
Owner

roxma commented Aug 24, 2017

Fixed by 72e1eb4

@roxma roxma closed this as completed Aug 24, 2017
@ghost
Copy link
Author

ghost commented Aug 24, 2017

Works perfectly, thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant