Closed Rizhiy closed 8 months ago
You already can edit snippets from friendly snippets. Just set the location where friendly snippets is installed as your snippetDir
To save people time, here is the setting when using lazy.nvim:
{
"chrisgrieser/nvim-scissors",
opts = { snippetDir = vim.fn.stdpath("data") .. "/lazy/friendly-snippets" },
},
Be aware that editing them specify also saves them in the friendly snippets plugin dir, meaning changes you make will be lost as soon as friendly snippets is updated.
Copying some snippet files from friendly snippets into your own snippet collection might make more sense
Feature Requested
Not sure if it is possible, but being able to edit snippets from other providers (e.g. friendly-snippets) would be useful. Perhaps add a new snippet with the same name, but higher priority.
Relevant Screenshot
No response
Checklist