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

Backslash in trigger #269

Open
gzagatti opened this issue Jun 23, 2023 · 0 comments
Open

Backslash in trigger #269

gzagatti opened this issue Jun 23, 2023 · 0 comments

Comments

@gzagatti
Copy link

It seems like backlash in the trigger function does not work. I have the following rule:

{
  "begin": {
    "prefix": ["\\begin"],
    "body": [
      "\\begin{$1}",
      "$0",
      "\\end{$1}"
    ],
    "description": "environment template."
  }
}

However, the completion does not get triggered. If I modify to "prefix": ["begin"] then the completion works.

I am using cmp to manage auto-completion.

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