Comments (11)
Ok this is weird. Did I get this correct: it does not happen when you have disabled cmp-nvim-ultisnips and only enabled UltiSnips? Or does it also happen then? Because in that case it is probably an UltiSnips issue.
from cmp-nvim-ultisnips.
Ok this is weird. Did I get this correct: it does not happen when you have disabled cmp-nvim-ultisnips and only enabled UltiSnips? Or does it also happen then? Because in that case it is probably an UltiSnips issue.
I didn't think to do that, but correct, it also happens when i disable cmp-nvim-ultisnips, so it is an UltiSnips issue. Should I close this issue and open one in UltiSnips? But they don't care much about neovim over there from what I remember
from cmp-nvim-ultisnips.
It's also strange because this doesn't happen with other language servers, so there's something specific with tsserver that does it. I haven't configured tsserver with extra configs.
from cmp-nvim-ultisnips.
I didn't think to do that, but correct, it also happens when i disable cmp-nvim-ultisnips, so it is an UltiSnips issue. Should I close this issue and open one in UltiSnips? But they don't care much about neovim over there from what I remember
Yeah that's true. I will try to reproduce this first to be sure it also occurs for me.
from cmp-nvim-ultisnips.
I can reproduce this by typing '${|}'
in a .ts file (where |
is the cursor) and hitting Tab. However, uninstalling tsserver does not help but removing cmp-nvim-ultisnips does. So it is indeed a bug in the new cmp-nvim-ultisnips keybindings.
Update: it also appears when cmp-nvim-ultisnips is disabled (don't know why I thought it didn't happen then), so it's not a cmp-nvim-ultisnips bug. Investigating...
from cmp-nvim-ultisnips.
This might be a nvim-cmp issue as I tested it with a minimal config. I will continue later.
We should confirm this, then create a bug report on the cmp repo.
from cmp-nvim-ultisnips.
I can reproduce this by typing
'${|}'
in a .ts file (where|
is the cursor) and hitting Tab. However, uninstalling tsserver does not help but removing cmp-nvim-ultisnips does. So it is indeed a bug in the new cmp-nvim-ultisnips keybindings.Update: it also appears when cmp-nvim-ultisnips is disabled (don't know why I thought it didn't happen then), so it's not a cmp-nvim-ultisnips bug. Investigating...
And from your experience it is not tied to enabling/disabling tsserver? Fixing what you found might fix the one I'm facing as well.
from cmp-nvim-ultisnips.
Yes, I uninstalled tsserver and it still occurred. I now reported it on the cmp repo.
from cmp-nvim-ultisnips.
Seems like hrsh7th could not reproduce it... Are you on Linux by any chance? I also could not reproduce it anymore after deleting the other plugins from my packer directory. Also could you share your plugin list so that we can narrow down which plugin(s) might cause this (that we are both using)?
from cmp-nvim-ultisnips.
Seems like hrsh7th could not reproduce it... Are you on Linux by any chance? I also could not reproduce it anymore after deleting the other plugins from my packer directory. Also could you share your plugin list so that we can narrow down which plugin(s) might cause this (that we are both using)?
I have bunch of plugins installed, so I'll try to narrow down what plugin or setting is interfering here, but it's definitely has to do with tsserver, because enabling/disabling it makes my problem go away and come back
from cmp-nvim-ultisnips.
I found the cause for this issue. It is caused by vim-snippets, specifically by this javascript snippet (link):
snippet ${
${${1}}${0}
(typescript
snippets extend from javascript
snippets)
Honestly, I think this snippet should be removed from vim-snippets
since it doesn't seem that useful and causes issues when expanding other snippets. However, I am not sure if it's worth opening a PR there since the plugin doesn't seem too well maintained currently.
But please feel free (you or someone else that comes across this) to open an issue there or a PR! :)
from cmp-nvim-ultisnips.
Related Issues (20)
- Having issues with nested tabstop HOT 1
- No snippets in completion list? HOT 3
- Update support for new lua parser in treesitter HOT 3
- Strange error when trying to load ultisnips HOT 5
- Expand Snippet shows on the command line HOT 6
- When cmp is active, jump forward doesnt go forward. HOT 7
- Using tab to jump forward leaves a space before jumping forward HOT 6
- Snippetes with multiple options doesn't works HOT 1
- Possible bug when triggering snippet before the completion menu has opened for the first time
- Wrong context matching HOT 5
- If i set jump_forwards before expand, it has a lag before i can expand HOT 8
- Error detected while processing TextChangedI Autocommands for "*": HOT 16
- Not showing all honza/vim-snippets (but it still exists somehow) HOT 12
- Failed to load parser: uv_dlsym: dlsym(0x208d77c60, tree_sitter_Dockerfile): symbol not found HOT 1
- Many auto-snippets can not be trigger HOT 1
- E5108: Error executing lua Vim:E117: Unknown function: `UltiSnips#CanJumpForwards`, `UltiSnips#CanJumpBackwards`, and `UltiSnips#CanExpand` HOT 21
- Error detected while processing TextChangedI Autocommands for "*": HOT 4
- Ultisnips stopped working HOT 1
- Insert mode is slow and laggy with this source enabled HOT 12
- Load the wrong snippets source HOT 1
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 cmp-nvim-ultisnips.