mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 13:33:04 +00:00
cleanup: minor whitespace and doc cleanup
This commit is contained in:
parent
4f846f2c36
commit
a7b78cf198
@ -1911,7 +1911,10 @@ the current buffers contents."
|
|||||||
template))
|
template))
|
||||||
|
|
||||||
(defun yas/snippet-menu-binding-pair-get-create (template &optional type)
|
(defun yas/snippet-menu-binding-pair-get-create (template &optional type)
|
||||||
"Get TEMPLATE's menu binding or assign it a new one."
|
"Get TEMPLATE's menu binding or assign it a new one.
|
||||||
|
|
||||||
|
TYPE may be `:stay', signalling this menu binding should be
|
||||||
|
static in the menu."
|
||||||
(or (yas/template-menu-binding-pair template)
|
(or (yas/template-menu-binding-pair template)
|
||||||
(let ((key (yas/template-key template))
|
(let ((key (yas/template-key template))
|
||||||
(keybinding (yas/template-keybinding template)))
|
(keybinding (yas/template-keybinding template)))
|
||||||
@ -1965,7 +1968,7 @@ MENU is a list, its elements can be:
|
|||||||
|
|
||||||
- (yas/item UUID) : Creates an entry the snippet identified with
|
- (yas/item UUID) : Creates an entry the snippet identified with
|
||||||
UUID. The menu entry for a snippet thus identified is
|
UUID. The menu entry for a snippet thus identified is
|
||||||
permanent, i.e. it will never move in the menu.
|
permanent, i.e. it will never move (be reordered) in the menu.
|
||||||
|
|
||||||
- (yas/separator) : Creates a separator
|
- (yas/separator) : Creates a separator
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user