Comments (14)
The error was fixed, thank you so much for this quickfix, much appreciated !
from cmp-nvim-ultisnips.
Hey, sorry about that. Can you share your snippet definitions for .cpp files?
from cmp-nvim-ultisnips.
I have a similar issue since i upgraded plugins this morning. weirdly, some snippet still work, but most of them arent.
I dont have enough knowledge to figure out if it s the same issue or not.
from cmp-nvim-ultisnips.
Seems there will be the problem when honza/vim-snippets.git
installed
from cmp-nvim-ultisnips.
Have another test with any custom snippets for cpp, there will be the error even honza/vim-snippets.git
not installed.
from cmp-nvim-ultisnips.
@hiberabyss thanks for the info, I will try to reproduce it and push a fix later
@PetitBandit it probably is the same issue, I recently wrote a parser for snippet headers (with insufficient tests as it seems)
from cmp-nvim-ultisnips.
@PetitBandit Unfortunately, I am not able to reproduce the issue using the typescriptreact snippets from your dotfiles repo (please ignore the duplicates).
I assume this was the file you were using for your snippets? Or are you using any
additional snippet files? To find out why this is happening, I really need to know the exact
snippet that causes problems during parsing.
from cmp-nvim-ultisnips.
@hiberabyss I could not reproduce this with a custom snippet definition in a cpp.snippets
file. Could you share an example snippet that caused the issues for you?
from cmp-nvim-ultisnips.
I was finally able to reproduce using the c.snippets
file from honza/vim-snippets :)
from cmp-nvim-ultisnips.
@hiberabyss the issue was fixed could you please update the plugin and try again?
from cmp-nvim-ultisnips.
This error was fixed. Thanks!
However, seems some snippets like once
in honza/vim-snippets
could not be completed.
from cmp-nvim-ultisnips.
Thanks, we'll test thoroughly for the others and improve the implementation.
from cmp-nvim-ultisnips.
Hey, I updated again the plugin, but the error is no longer appearing BUT i still cant expand some snippets.
i can reproduce the issue with the snippet:
snippet bgct "tomato for the win"
backgroundColor: 'tomato', //TODO: petit bandit <-- remove this
endsnippet
this one works though:
snippet selho "selector hover" b
'&:hover': {
$1
},
endsnippet
from cmp-nvim-ultisnips.
@PetitBandit should be fixed in the latest PR (#26). Sorry for all the breaking changes that should not have been breaking ^^
from cmp-nvim-ultisnips.
Related Issues (20)
- Disabling autotrigger causes error HOT 9
- broken UltiSnips HOT 6
- 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
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.