Skip to content

How can I get a list of the possible snippets programatically? #99

Description

@khalidchawtany

I want to integrate xptemplate into nvim-cmp. However, I cannot figure out how to get a list of possible snippets given an input.

For example: I have typed "i" without double quotes. How can I get all snippets that start with i?

I know about the <c->. However, I want to get the list calling a function.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions