mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Will get to implement yas/overlay in next version.
This commit is contained in:
parent
3a49346865
commit
c7c4ba4dc8
@ -174,7 +174,8 @@ have, compare through the start point of the overlay."
|
|||||||
(gethash key snippet-table))
|
(gethash key snippet-table))
|
||||||
|
|
||||||
(defun yas/current-key ()
|
(defun yas/current-key ()
|
||||||
"Get the key under current position."
|
"Get the key under current position. A key is used to find
|
||||||
|
the template of a snippet in the current snippet-table."
|
||||||
(let ((start (point))
|
(let ((start (point))
|
||||||
(end (point)))
|
(end (point)))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user