-
Notifications
You must be signed in to change notification settings - Fork 401
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
Snippet completion triggered without prefix #49
Comments
It's weird... I can't reproduce. Anyway, you can set |
Thanks for the reply. I have added that but the same thing still happens. completion = {
autocomplete = { cmp.TriggerEvent.TextChanged },
completeopt = 'menu,menuone,noinsert'
}, |
I tried debugging them a bit, and it seems like if the "if else": {
"prefix": "if else",
"body": ["if ${1:test}", "\t$0", "else", "\t", "end"]
},
"if elsif": {
"prefix": "if elsif",
"body": ["if ${1:test}", "\t$0", "elsif ", "\t", "end"]
},
|
OK. It seems a cmp-vsnip problem. |
I will close this issue then, do you want me to create one on For my use case now, I will just rename the prefix and delete those that I am not using. Thanks again! Enjoying the new one so far, great work! :) |
Hm... I'm investigating it now. It's a bit difficult 🤣 |
I've forgotten pushing local changes on cmp-vsnip 🤭 |
i have a similar issue with I'll get the same issue just after doing sth like my configurations for reference |
@abzcoding No. because |
thank you, just added a PR and tested it locally saadparwaiz1/cmp_luasnip#3 |
Working on migration from
nvim-compe
to here, and I have this issue, where snippet completions got triggered even when I haven't type anything yet.Actual Behavior
Snippet completions got triggered without any prefix
Example in typescript
Example in ruby
Expected Behavior
Config
The text was updated successfully, but these errors were encountered: