YASnippet templates not working in Latex fragments in org files
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### What did you expect to happen?
When I try to expand a snippet like `frac`, `\frac{numerator}{denominator}` should be inserted with my cursor on `numerator` and able to replace each part of the snippet.
### What actually happened?
This works fine when in regular latex-mode. But when using it inside latex fragments in org mode, the snippet gets inserted, but my cursor just gets put at the end of the snippet and I have to manually go back and edit each word. YASnippet templating features are broken here.
### Describe your attempts to resolve the issue
I tried enabling different latex module flags, nothing really changed.
### Steps to reproduce
1. enable (latex +cdlatex) along with org and snippets
2. open a .org file
3. insert a latex fragment `$...`
4. type `frac`
### System Information
https://pastebin.com/rDKktbQZ
Contributor guide
Assessment
This issue has not been assessed yet.