Skip to content

Error in detecting math context for latex snippet #1

@wthe2004

Description

@wthe2004

The repository aims to facilitate the transition from Ultisnips to Yasnippet. However, I encountered an issue related to detecting math context.

When utilizing the following Ultisnips code:

context "math()"
snippet "hat" "hat" riA
\hat{$1}$0
endsnippet

I received the following output:

Parse error: latex-snippets/tex.snippets: 104: 'context "math()"'

It seems that the detection of the math context is not functioning correctly. Any assistance in resolving this matter would be greatly appreciated.

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