mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-16 14:33:05 +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 ()
|
||||
"Return all active trigger keys for current buffer and point."
|
||||
(remove-duplicates (mapcan #'yas--table-all-keys (yas--get-snippet-tables))
|
||||
:test #'string=))
|
||||
(remove-duplicates
|
||||
(remove-if-not #'stringp (mapcan #'yas--table-all-keys (yas--get-snippet-tables)))
|
||||
:test #'string=))
|
||||
|
||||
(defun yas--template-fine-group (template)
|
||||
(car (last (or (yas--template-group template)
|
||||
|
Loading…
x
Reference in New Issue
Block a user