-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
[question] 🤔 can we use VS Code user code-snippets? #705
Comments
Yeah, do you have the |
OK, now works according to the doc. It seems can not work like this: ~/.config/nvim/my-snippets/package.json
~/Library/Application Support/Code/User/snippets/dropcode.code-snippets -- luasnip.lua
require("luasnip.loaders.from_vscode").lazy_load({
paths = {
"./my-snippets", 👈
}
}) // my-snippets/package.json
{
"name": "my-snippets",
"contributes": {
"snippets": [
{
"language": [
"all"
],
"path": "~/Library/Application Support/Code/User/snippets/dropcode.code-snippets" 👈
}
]
}
} |
@2nthony I've two questions:
Please, give answers in docs, thanks! |
|
We don't support |
Supported actually by adding |
The problem is that I have snippets for various different, but similar languages: @leiserfg If I have time on hands! |
I created a bulk of code-snippets when I was using vscode, the path is:
~/Library/Application Support/Code/User/snippets/*.code-snippets
So, can I load these code-snippets via this plugin? I've read the doc, but I didn't see any guide for this(maybe I missed).
here is the vscode snippet template:
The text was updated successfully, but these errors were encountered: