bug?: want no_sensor but got sensor template

0 views
Skip to first unread message

Xah Lee

unread,
Dec 27, 2009, 4:35:51 AM12/27/09
to smart-snippet and YASnippet
Hi,

this seems a bug, not sure if it is known but. (sorry havn't searched
bug db)

i have 2 templates, one named sensor and the other named no_sensor.
Their contents are this:

# --
no_sensor()
{
$0
}


# --
sensor(integer num_detected)
{
$0
}

when in xlsl-mode, i type no_sensor then Tab, but i got the template
for sensor.

Xah
http://xahlee.org/


David

unread,
Dec 27, 2009, 8:09:23 AM12/27/09
to smart-...@googlegroups.com
I get the same thing. Pending a patch, defining the key: attribute of your snippet to be nosensor will trigger the no_sensor snippet.

& save you one keystroke! ;)

Love regards etc

David Miller
0771 744 8361
www.deadpansincerity.com


2009/12/27 Xah Lee <xah...@gmail.com>

--

You received this message because you are subscribed to the Google Groups "smart-snippet and YASnippet" group.
To post to this group, send email to smart-...@googlegroups.com.
To unsubscribe from this group, send email to smart-snippe...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/smart-snippet?hl=en.



Reply all
Reply to author
Forward
0 new messages