Closed nfedyashev closed 3 years ago
I'm not sure. It looks same behavior other than typescript-mode when I use yas-insert-snippet
. How about using helm-yas-complete
instead of yas-insert-snippet
?
helm-yas-complete
shows "No JavaScript AST available" error.
It worked fine before I attempted to reinstall Emacs :) Sorry for that confusion, I'll try again.
Ah, it is this package issue. I'll fix it later.
@nfedyashev I have merged #24. Could you try helm-yas-complete
with latest version ?
@syohex wow! It is working again after package upgrade to the latest version. You're the boss!
@syohex hi again
Just a minor comment. I decided to downgrade my emacs back to 26.1 to avoid possible conflicts with other plugins.
Then I noticed the warning
the function ignore-error is not known to be defined
I've tried to change it to ignore-errors
because there seems to be plenty of ignore-errors
but only a single ignore-error
search result in my .emacs.d folder. After that change I recompiled all plugins, and helm/yas works fine again. No warnings, and all actions are listed.
I no very little elisp but at first sight it looked like ignore-error
is available in most recent emacs versions but not in 26.1(which is still pretty popular). That's just my guess. Hope that change didn't break it for other users.
Ah, I forgot ignore-error
is introduced since emacs 27.1. I'll fix it to ignore-errors
@nfedyashev Thanks for information. I have fixed it at #25. Please check latest version
I'm currently experiencing a bit strange behavior of helm-yas so any tips are greatly appreciated.
yas/insert-snippet
type something pressctrl
z
and there is just one option displayed thereWhat could be the reason for it? It happens only in the specific major-mode for me -
typescript-mode
. All the other modes and snippets have all the actions listed.