Skip to content
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

Bug: Vscode snippet resolution not working #27

Closed
chrisgrieser opened this issue Oct 8, 2024 · 2 comments
Closed

Bug: Vscode snippet resolution not working #27

chrisgrieser opened this issue Oct 8, 2024 · 2 comments

Comments

@chrisgrieser
Copy link
Contributor

the vs code snippet syntax, that plugins like nvim-snippet and luasnip both support, has tokens like $LINE_COMMENT, which dynamically insert content.

I have a snippet which does $LINE_COMMENT TODO: which, in a lua file, inserts -- TODO: . However, with blink.cmp, this is not correctly resolved, and LINE_COMMENT TODO: is inserted.

@chrisgrieser
Copy link
Contributor Author

chrisgrieser commented Oct 9, 2024

thanks for the quick fix, but unfortunately, the issue still persists, $LINE_COMMENT and other tokens like $CURRENT_YEAR or $CLIPBOARD are still not being resolved by blink.cmp

@chrisgrieser
Copy link
Contributor Author

ah, sorry, my bad, haven't noticed that due to the version = "v0.*", the commit fixing this is simply not included yet.

lopi-py pushed a commit to lopi-py/blink.cmp that referenced this issue Oct 10, 2024
lopi-py pushed a commit to lopi-py/blink.cmp that referenced this issue Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant