abo-abo / auto-yasnippet

quickly create disposable yasnippets
246 stars 15 forks source link

`aya-create` not work if snippet contains * #25

Closed s-kostyaev closed 6 years ago

s-kostyaev commented 6 years ago

For example

isEmpty(~*varName)
abo-abo commented 6 years ago

This method of quoting is more reliable:

isEmpty(*`varName');

You could also modify aya-field-regex to add *:

(setq aya-field-regex "\\sw\\|\\s_\\|\\*")
s-kostyaev commented 6 years ago

Thank you. It works for me.