-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem defining snippets #14
Comments
|
I changed the line I also had a couple of other questions:
Thanks for your help. |
This is already the case, unless you've disabled
This should also already be the case, unless you've disabled |
I fixed most of the issues by disabling
are not recognized in asy mode, although they are when converted to individual snippets in the |
Snippets defined in .doom.d/snippets seem to work fine. However snippets defined using the
yas-define-snippets
function don't seem to be working properly. A minimum example file loaded from.doom.d/config.el
is listed below to indicate how I am using it.In python mode some snippets like
np
expands fine, but many of the other snippets defined do not expand, or triggercompany
completion.In
asy-mode
only the snippets defined in thedoom.d/snippets/asy-mode
subdirectory seem to be recognized, even though a file with an asy extension opens correctly inasy-mode
.I prefer to use the
yas-define-snippets
function to collect together multiple snippets in one file and I have used this approach before. Would this be possible with doom-emacs? Thanks.The text was updated successfully, but these errors were encountered: