mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
* doc/snippet-expansion.org: Complete sentence fragment.
This commit is contained in:
parent
462f5667fc
commit
8797a31337
@ -35,7 +35,10 @@
|
|||||||
/snippet key/) before point. YASnippet also provides a /conditional
|
/snippet key/) before point. YASnippet also provides a /conditional
|
||||||
binding/ for this command: the variable [[sym:yas-expand][=yas-maybe-expand=]] contains a
|
binding/ for this command: the variable [[sym:yas-expand][=yas-maybe-expand=]] contains a
|
||||||
special value which, when bound in a keymap, tells Emacs to call
|
special value which, when bound in a keymap, tells Emacs to call
|
||||||
[[sym:yas-expand][=yas-expand=]] if and only if there is a snippet abbrev before point. If there is not
|
[[sym:yas-expand][=yas-expand=]] if and only if there is a snippet abbrev before point.
|
||||||
|
If there is no snippet to expand, Emacs will behave as if [[sym:yas-expand][=yas-expand=]]
|
||||||
|
is unbound and so will run whatever command is bound to that key
|
||||||
|
normally.
|
||||||
|
|
||||||
When [[sym:yas-minor-mode][=yas-minor-mode=]] is enabled, it binds [[sym:yas-maybe-expand][=yas-maybe-expand=]] to =TAB=
|
When [[sym:yas-minor-mode][=yas-minor-mode=]] is enabled, it binds [[sym:yas-maybe-expand][=yas-maybe-expand=]] to =TAB=
|
||||||
and =<tab>= by default, however, you can freely remove those bindings:
|
and =<tab>= by default, however, you can freely remove those bindings:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user