mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-04 12:45:42 +00:00
Closes #315: don't consider keybindings when filtering snippets in YAS-ACTIVE-KEYS
This commit is contained in:
parent
810de9a4b0
commit
04970abf30
@ -2658,8 +2658,9 @@ whether (and where) to save the snippet, then quit the window."
|
|||||||
|
|
||||||
(defun yas-active-keys ()
|
(defun yas-active-keys ()
|
||||||
"Return all active trigger keys for current buffer and point."
|
"Return all active trigger keys for current buffer and point."
|
||||||
(remove-duplicates (mapcan #'yas--table-all-keys (yas--get-snippet-tables))
|
(remove-duplicates
|
||||||
:test #'string=))
|
(remove-if-not #'stringp (mapcan #'yas--table-all-keys (yas--get-snippet-tables)))
|
||||||
|
:test #'string=))
|
||||||
|
|
||||||
(defun yas--template-fine-group (template)
|
(defun yas--template-fine-group (template)
|
||||||
(car (last (or (yas--template-group template)
|
(car (last (or (yas--template-group template)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user