Comments (10)
OK. It seems a cmp-vsnip problem.
from nvim-cmp.
@abzcoding No. because cmp-vsnip
issue is solved by cmp-vsnip
's commit.
You should open issue to cmp-luasnip
repo.
from nvim-cmp.
It's weird... I can't reproduce.
Anyway, you can set completion.autocomplete = { cmp.TriggerEvent.TextChanged }
to avoid this.
from nvim-cmp.
Thanks for the reply. I have added that but the same thing still happens.
completion = {
autocomplete = { cmp.TriggerEvent.TextChanged },
completeopt = 'menu,menuone,noinsert'
},
from nvim-cmp.
I tried debugging them a bit, and it seems like if the prefix
contains any spaces
then it will get triggered. Once i remove the spaces then it will not get triggered.
"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"]
},
from nvim-cmp.
I will close this issue then, do you want me to create one on cmp-vsnip
?
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! :)
from nvim-cmp.
Hm... I'm investigating it now. It's a bit difficult 🤣
from nvim-cmp.
I've forgotten pushing local changes on cmp-vsnip 🤭
from nvim-cmp.
i have a similar issue with luasnip
as well, so I'm not sure the root cause is cmp-vsnip
or not
and even if I do the following,
I'll get the same issue just after doing sth like permissions =
my configurations for reference
from nvim-cmp.
cmp-luasnip
thank you, just added a PR and tested it locally saadparwaiz1/cmp_luasnip#3
from nvim-cmp.
Related Issues (20)
- Unexpected behavior with cmp.abort() and cmp.close() when autocomplete = false. HOT 1
- Minimum number of chars for completion
- Using Semantic Versioning releases HOT 2
- Icons are not displayed correctly
- cmp don't work even my config are seem to be correct HOT 2
- Hitting CR confirm selection on cmdline weird redraw on neovim 0.10 HOT 1
- attempt to call local 'fn' (a table value) HOT 7
- Ghost Text Errors HOT 1
- feature request: documentation treesitter syntax highlight like `vim.lsp.buf.signature_help()` in nvim 0.10
- Some times vim_item.kind is nil
- snippet getting confirm and not preselect when doing cmp.select_next_item HOT 5
- cmp-omni listed under unavailable source names HOT 8
- ":%normal Itest" executes slowly when there are many rows
- Better documentation around fuzzy and partial matching options HOT 1
- vim.tbl_add_reverse_lookup is deprecated HOT 4
- please make the lowest sponsoring tier as low as $2 HOT 1
- Completion for tailwind language server has some delay, but it is works fine in other programming languages HOT 2
- nvim_get_option_value calls break compatibility with neovim 0.7
- Hover documentation border will not work HOT 4
- auto completion change to manual completion occasionally HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-cmp.