mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
* yasnippet.el (yas-key-syntaxes): Prefer the longest key.
This commit is contained in:
parent
ad3a4d192d
commit
203059a95e
@ -406,8 +406,8 @@ It must be set to nil before loading yasnippet to take effect."
|
||||
map)
|
||||
"The active keymap while a snippet expansion is in progress.")
|
||||
|
||||
(defvar yas-key-syntaxes (list "w" "w_" "w_." "w_.()"
|
||||
#'yas-try-key-from-whitespace)
|
||||
(defvar yas-key-syntaxes (list #'yas-try-key-from-whitespace
|
||||
"w_.()" "w_." "w_" "w")
|
||||
"Syntaxes and functions to help look for trigger keys before point.
|
||||
|
||||
Each element in this list specifies how to skip buffer positions
|
||||
|
Loading…
x
Reference in New Issue
Block a user