mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
* More adjustments to fixing issue 93
This commit is contained in:
parent
9733b478f0
commit
6b865cda63
@ -245,7 +245,7 @@ representation using `read-kbd-macro'."
|
||||
(if (fboundp 'yas/trigger-key-reload)
|
||||
(yas/trigger-key-reload old)))))
|
||||
|
||||
(defcustom yas/next-field-key "TAB"
|
||||
(defcustom yas/next-field-key '("TAB" "<tab>")
|
||||
"The key to navigate to next field when a snippet is active.
|
||||
|
||||
Value is a string that is converted to the internal Emacs key
|
||||
@ -3672,9 +3672,8 @@ handle the end-of-buffer error fired in it by calling
|
||||
;; disable c-electric-* serial command in YAS fields
|
||||
(add-hook 'c-mode-common-hook
|
||||
'(lambda ()
|
||||
(make-variable-buffer-local 'yas/keymap)
|
||||
(dolist (k '(":" ">" ";" "<" "{" "}"))
|
||||
(define-key yas/keymap
|
||||
(define-key (make-local-variable 'yas/keymap)
|
||||
k 'self-insert-command))))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user