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

Chaining snippets #17

Open
recifx opened this issue Dec 16, 2019 · 0 comments
Open

Chaining snippets #17

recifx opened this issue Dec 16, 2019 · 0 comments
Labels
is:bug Something isn't working as intended needs-triage Issue hasn't been assessed yet
Milestone

Comments

@recifx
Copy link

recifx commented Dec 16, 2019

When using doom-snippets-expand to chain snippets

# -*- mode: snippet -*-
# name: imp
# key: imp
# uuid: imp
# condition: t
# --
import `(doom-snippets-expand :uuid "libs")`
# -*- mode: snippet -*-
# name: libs
# key: libs
# uuid: libs
# condition: t                                                    
# --
${1:$$(yas-choose-value '("numpy" "scipy" "matplotlib" "pandas"))}

An extra YY is added before the expansion, so if I select e.g scipy, I get:
import YYscipy

I don't know if this issue is related to the reference to the insertion of an extraneous Y in https://emacs.stackexchange.com/questions/24060/yasnippet-truncates-clipboard-contents

@hlissner hlissner added the is:bug Something isn't working as intended label May 2, 2022
@hlissner hlissner added this to the Backlog milestone May 2, 2022
@hlissner hlissner added the needs-triage Issue hasn't been assessed yet label May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:bug Something isn't working as intended needs-triage Issue hasn't been assessed yet
Projects
None yet
Development

No branches or pull requests

2 participants