mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Fix issue 125.
This commit is contained in:
parent
401f39ddf6
commit
32336e1462
@ -2303,7 +2303,8 @@ lurking."
|
||||
# name: $1
|
||||
# key: $2${3:
|
||||
# binding: ${4:direct-keybinding}}${5:
|
||||
# expand-env: ((${6:some-var} ${7:some-value}))}
|
||||
# expand-env: ((${6:some-var} ${7:some-value}))}${8:
|
||||
# type: command}
|
||||
# --
|
||||
$0"))))
|
||||
|
||||
@ -3368,6 +3369,7 @@ considered when expanding the snippet."
|
||||
;;
|
||||
(let ((first-field (car (yas/snippet-fields snippet))))
|
||||
(when first-field
|
||||
(sit-for 0) ;; fix issue 125
|
||||
(yas/move-to-field snippet first-field)))))
|
||||
(message "[yas] snippet expanded.")))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user