Skip to content
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

[Q] Reloading snippets? #22

Open
madskjeldgaard opened this issue Feb 9, 2021 · 0 comments
Open

[Q] Reloading snippets? #22

madskjeldgaard opened this issue Feb 9, 2021 · 0 comments

Comments

@madskjeldgaard
Copy link

Hello! Thanks for making this awesome plugin. It's really solid!
I was wondering if it is possible to reload a snippets file without restarting nvim?

This happens automatically in UltiSnips when you change snippets and I should think that reloading the snippets in nvim using eg :lua require('file_containing_snippets') would do the trick but it doesn't really. (this file contains the require'snippets'.snippets = {...snippets} stuff.

Any pointers are much appreciated!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant