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

Adding snippets #528

Open
vodrazka opened this issue Nov 25, 2024 · 2 comments
Open

Adding snippets #528

vodrazka opened this issue Nov 25, 2024 · 2 comments

Comments

@vodrazka
Copy link

Hello,

since go.nvim uses luasnip: go.nvim included a feature rich luasnips you definitally need to try., how could someone add their own snippets?

@ray-x
Copy link
Owner

ray-x commented Nov 25, 2024

You can add go.lua in lua/snippets of your config directory and refer to go.nvim with require
some example:
https://github.com/ray-x/nvim/tree/master/lua/snippets

@vodrazka
Copy link
Author

Thanks, could not figure out how to do it, so i just imported luasnip as a dedicated plugin.

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

2 participants