-
Notifications
You must be signed in to change notification settings - Fork 10
Conversation
There is a deoplete source already made here https://github.com/joereynolds/deoplete-minisnip Though maybe native completion would be better if it "just worked" |
Using Deoplete is more than a little overkill for such a small feature in such a small plugin :-) Anyway, I'll finish this PR up later then 👍 |
Alright; I finished it up. I changed the mapping to |
Use `<C-x><C-t>`
I'll look at testing this some time today. This means one less plugin for me to include (deoplete-minisnip), good work! |
Interesting; it works for me. |
Okay, I pushed an update which may fix it, but I wasn't able to reproduce that error. Another thing that I should fix is that it should show |
This seems to work better?
The "p" is just some temporary output; it doesn't actually get inserted in the buffer. I noticed that too, but I just assumed it was a generic problem due to terminal escape code whatnot, but it seems this problem isn't present on master :-/ I changed the mapping from |
Works a treat! |
I already added an entry for the mapping: https://github.com/joereynolds/vim-minisnip/pull/6/files#diff-e6ab5d74568837d50ee63e2c0c00b05fR42 Was there some other doc you would want to see? BTW, I also want to fix the error when there are no matches; otherwise it's very confusing imho. I'll do that this evening. |
Hey @Carpetsmoker No other docs are needed (I think), great work on the prs so far! :D |
Is this something you'd be interested in adding?
This is a very quick implementation mostly copied from another plugin I made a few years ago, and doesn't quite work right; but it does show how the code would basically look like. I can finish it up if you'd like to add it.
Use
<C-x><C-t>
to start the completion.