File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change
1
+ # -*- mode : snippet -*-
1
2
# key : int
2
3
# name : int_^
3
4
# condition : (texmathp)
7
8
} ${ 1 :left } ${ 1 :$ (when (> (length yas-text) 1 ) " }" )
8
9
} ${ 2 :$ (when (> (length yas-text) 0 ) " ^" )
9
10
} ${ 2 :$ (when (> (length yas-text) 1 ) " {" )
10
- }${2:right}${2:$(when (> (length yas-text) 1) "}")} $0
11
+ } ${ 2 :right } ${ 2 :$ (when (> (length yas-text) 1 ) " }" ) } $0
Original file line number Diff line number Diff line change
1
+ # -*- mode : snippet -*-
1
2
# key : prod
2
3
# name : prod_^
3
4
# condition : (texmathp)
7
8
} ${ 1 :i=0 } ${ 1 :$ (when (> (length yas-text) 1 ) " }" )
8
9
} ${ 2 :$ (when (> (length yas-text) 0 ) " ^" )
9
10
} ${ 2 :$ (when (> (length yas-text) 1 ) " {" )
10
- }${2:n}${2:$(when (> (length yas-text) 1) "}")} $0
11
+ } ${ 2 :n } ${ 2 :$ (when (> (length yas-text) 1 ) " }" ) } $0
Original file line number Diff line number Diff line change
1
+ # -*- mode : snippet -*-
1
2
# key : sum
2
3
# name : sum_^
3
4
# condition : (texmathp)
7
8
} ${ 1 :i=0 } ${ 1 :$ (when (> (length yas-text) 1 ) " }" )
8
9
} ${ 2 :$ (when (> (length yas-text) 0 ) " ^" )
9
10
} ${ 2 :$ (when (> (length yas-text) 1 ) " {" )
10
- }${2:n}${2:$(when (> (length yas-text) 1) "}")} $0
11
+ } ${ 2 :n } ${ 2 :$ (when (> (length yas-text) 1 ) " }" ) } $0
You can’t perform that action at this time.
0 commit comments