How to un-define a snippet

3 views
Skip to first unread message

Halley

unread,
Jun 4, 2009, 10:32:54 PM6/4/09
to smart-snippet and YASnippet
Hi, all

I am appreciated that yas is awesome.

I want to know how to un-define a snippet?
E.g, I want to un-define "class" in c++-mode, howto?

BTW: Is there any yasnippet example file online? I want to learn more
from it.

Thanks!

peng shao

unread,
Jun 4, 2009, 11:13:13 PM6/4/09
to smart-...@googlegroups.com
Hi I think you may try to delete the corresponding file in your
yasnippet directory...

Zhang Chiyuan

unread,
Jun 5, 2009, 1:12:57 AM6/5/09
to smart-...@googlegroups.com
just open the snippets/text-mode/c++-mode directory, all snippets for c++ mode are there.
you can learn from them as examples, and you can delete the "class" snippet by just removing
that file.
--
pluskid
Reply all
Reply to author
Forward
0 new messages