-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
Api to add and remove custom snippets.json files loaded? #662
Comments
You can simply redefine existing snippets globally or locally, for specific syntax only. No need to remove anything |
Do you know what API I can use to redefine an existing snippets.json to be global or local? If I could just know which file in the emmet source deals with all this, I'd be set! |
You can pass second argument with options to You can also refer unit tests with examples: https:/emmetio/emmet/blob/master/test/expand.ts#L71 |
I'm trying to find out what emmet api I can use to programmatically add and remove the custom snippets.json file that I have loaded into emmet?
My use case is that I might define custom snippets that are specific to a project or a html file and I'd want to remove these custom snippets when I'm not editing that particular html file and wanted to do this programmatically.
The text was updated successfully, but these errors were encountered: