-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
[Feat request] Possibility to exclude some snippets from lazy_load() #197
Comments
One simple option is to fork friendly-snippets, another is to watch the user-event |
I agree with fixing this in the source of the snippets, they should provide snippets for specific filetypes or frameworks eg. markdown and jekyll, and mixing/providing snippets from both sources is the job of snippet engines. |
Indeed, it would be better if friendly-snippet was not automatically merging various sources together. I agree with you and will ask there instead. |
For some languages, friendly-snippets provide multiple snippet files. This is for instance the case of markdown, where snippets are loaded from global.json, markdown.json and vscode-jekyll-snippets.json.
I do not know if it would be possible, but it would be nice if we could explicitly include or exclude some snippets file from friendly-snippets. I think this could be done either by providing a custom package.json that would replace the default one provided by friendly-snippet or provide an option to list specific snippets to exclude.
In my specific case, I would like to exclude
vscode-jekyll-snippets.json
as I do not have any use for them.The text was updated successfully, but these errors were encountered: