Skip to content

Chaining snippets #17

Open
Open
@recifx

Description

@recifx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:bugSomething isn't working as intendedneeds-triageIssue hasn't been assessed yet

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions