snacks.nvim/tests
Daniel Wennberg 66e3dc4619
fix(image): avoid nested math environments (#2345)
## Description

Inline LaTeX equation preview renders equations twice, partly on top of
each other, if you use nested math environments. Minimal reproducer:

```latex
\documentclass{article}
\begin{document}
\begin{equation}
  \begin{aligned}
    x_+ &= \frac{-b + \sqrt{b^2 - 4ac}}{2a} \, , \\
    x_- &= \frac{-b - \sqrt{b^2 - 4ac}}{2a} \, .
  \end{aligned}
\end{equation}
\end{document}
```

While, adding a test case for this to `test.tex` I also corrected a
package name such that it compiles without error.

## Screenshots

**Before**
<img width="248" height="203" alt="Screenshot 2025-10-24 at 16 22 05"
src="https://github.com/user-attachments/assets/ab55ef8c-1f04-49e5-b731-95b638ac9db7"
/>

**After**
<img width="248" height="203" alt="Screenshot 2025-10-24 at 16 23 33"
src="https://github.com/user-attachments/assets/4d3d53f6-7122-452f-b891-5a712f79fe40"
/>
2025-10-29 14:47:52 +01:00
..
image fix(image): avoid nested math environments (#2345) 2025-10-29 14:47:52 +01:00
picker fix(picker.diff): better filename parsing. See #2366 2025-10-28 10:20:27 +01:00
config_spec.lua fix(picker.config): better config merging and tests 2025-01-17 20:36:33 +01:00
gitbrowse_spec.lua feat(gitbrowse): choose to open repo, branch or file. Closes #10. Closes #17 2024-11-08 10:39:55 +01:00
minit.lua ci: update minit.lua 2025-10-08 21:33:23 +02:00
scope_spec.lua perf(scope): use async treesitter parsing when available 2025-02-23 09:21:02 +01:00
terminal_spec.lua style: format 2025-10-20 15:29:47 +02:00
util_spec.lua fix(util): normkey. Closes #763 2025-02-03 07:09:28 +01:00