Open arademaker opened 5 years ago
Good idea!
I added a small one. What else would you like to see in to see in there?
Hi @cipher1024 , for those like me not familiar with yasnippet, it would be good a point to the yasnippet essential documentation. The screenshot is helpful, but I can't see how/why the words changed to templates! ;-) You typed 'license' and the screen changed ... How?
Sorry, maybe this is a foolish question. But I didn't find in https://github.com/joaotavora/yasnippet how the templates are evoked.
For configuration, I added (require 'yasnippet-lean)
in my .emacs
. Do I need anything else?
Do I have to install yasnippet
package itself?
OK, I found that I need (yas-global-mode 1)
too. It seems that some other command from lean-mode
is conflicting with C-c C-s
. When I type it, the error is that it can't find elan
executable.
If you disable yasnippet
, does it fix things?
Hum, evaluating (yas-global-mode 0)
which I believe is disabling yesnippet
, it doesn't fix it.
So that's not an issue with yasnippet
. Did you instead elan
on your system? https://github.com/Kha/elan We can also move this discussion to Zulip and go back to yasnippet-lean
specific issues
Do I need elan to use yasnippet-lean
mode?
No it's just that C-c C-s
is a lean-mode
shortcut. You may have to remap manually that of yasnippet
or suggest a new mapping for the yasnippet
function that I can put in yasnippet-lean
I see that lean-mode
conflicts with yasnippet
in one more way: C-c C-n
gets us the next Lean error and a new yasnippet
snippet. Maybe we should remap them to C-s C-s
and C-s C-n
(and remap C-c C-v
also to C-s C-v
for consistency)
Hi, it would be nice to have a minimum description of the package. The gif image shared in the Zulip chat would help a lot.