-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature Request: Support project scope snippet #19
Comments
Project-scoped snippets would indeed be nice, however, adding support for them to nvim-scissors would be in vain, since to my knowledge, there is no snippet engine plugin that uses them. There is no point in creating project snippets if there is no way to use them. Please create feature requests at snippet engine plugins like nvim-snippets. As soon as there is a supporting snippet engine, this issue can be re-opened. |
It's supported in luasnip, see https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#standalone. While luasnip did not support automatically loading it, writing an autocmd of |
Oh, didn't know that luasnip supports it, my bad |
I created a FR at nvim-snippets: garymjr/nvim-snippets#53 edit: and at blink.cmp: Saghen/blink.cmp#197 |
Feature Requested
Thank you for making such a convenient plugin to create snippets, this encouraged me a lot to use snippets and made I code faster!
I think it could be nicer. Since we are easy to create snippets by leveraging this plugin, I wish it could support project scope snippets, in other words, create snippets in
.vscode/<name>.code-snippets
, and markscope
of the new snippets to the filetype of the current editing file.Relevant Screenshot
Reference: https://code.visualstudio.com/docs/editor/userdefinedsnippets#_project-snippet-scope
Checklist
The text was updated successfully, but these errors were encountered: