mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Fix yas-insert-snippet for keyless snippets
* yasnippet.el (yas--table-templates): Get snippets from uuidhash table too. Copyright-paperwork-exempt: yes
This commit is contained in:
parent
d91dd66f2a
commit
a66f15e6c9
@ -1399,6 +1399,9 @@ conditions to filter out potential expansions."
|
|||||||
(push (cons name template) acc))
|
(push (cons name template) acc))
|
||||||
namehash))
|
namehash))
|
||||||
(yas--table-hash table))
|
(yas--table-hash table))
|
||||||
|
(maphash #'(lambda (uuid template)
|
||||||
|
(push (cons uuid template) acc))
|
||||||
|
(yas--table-uuidhash table))
|
||||||
(yas--filter-templates-by-condition acc))))
|
(yas--filter-templates-by-condition acc))))
|
||||||
|
|
||||||
(defun yas--templates-for-key-at-point ()
|
(defun yas--templates-for-key-at-point ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user