feature/snippets: remap yas-insert-snippet instead

Rather than binding directly to +snippets/expand-on-region
This commit is contained in:
Henrik Lissner 2018-03-13 01:24:08 -04:00
parent e4fe46adbd
commit 17d206a28f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 6 additions and 2 deletions

View file

@ -643,7 +643,7 @@
[delete] #'+snippets/delete-forward-char-or-field)
(:map yas-minor-mode-map
:ig "<tab>" yas-maybe-expand
:v "<tab>" #'+snippets/expand-on-region))
:v "<tab>" #'yas-insert-snippet))
;; --- Major mode bindings --------------------------