Skip to content

Commit

Permalink
fix: remove snippet that autotriggers \frac with /
Browse files Browse the repository at this point in the history
This snippet was removed since it autotriggers regardless of whether the
cursor is in a math environment or not.
  • Loading branch information
cristobaltapia authored and lpil committed Jan 14, 2022
1 parent 5267444 commit 9f9d36d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions UltiSnips/tex.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,6 @@ snippet // "Fraction" Aw
\frac{$1}{$2}$0
endsnippet

snippet / "Fraction" i
\\frac{${VISUAL}}{$1}$0
endsnippet

snippet '((\d+)|(\d*)(\\)?([A-Za-z]+)((\^|_)(\{\d+\}|\d))*)/' "Fraction" wrA
\\frac{`!p snip.rv = match.group(1)`}{$1}$0
endsnippet
Expand Down

0 comments on commit 9f9d36d

Please sign in to comment.