vim-vsnip icon indicating copy to clipboard operation
vim-vsnip copied to clipboard

Load snippets from `.vscode/*.code-snippets`

Open hrsh7th opened this issue 5 years ago • 3 comments

hrsh7th avatar Aug 28 '20 11:08 hrsh7th

ok, let me chime in. When a user defines snippets in linux Code - OSS (open source built of vscode), they get saved at ~/.config/Code - OSS/User/snippets/*.json. It would be nice to have access there through vim-vsnip, so they can be used simultaneously. Of course, I understand that this is not such a huge deal if one has all snippets in one place, as we can always point the snippet directory to be there. I am not sure what the best practice would be here...

coxackie avatar Jan 04 '21 18:01 coxackie

Any progress on this? I also request to support the scope field:

   
  "help": {
    "description": "These are snippets common to TypeScript and JavaScript and ECMA Scripts",
    "prefix": "help",
    "scope": "typescript,javascript,javascriptreact,typescriptreact",
    "body": "..."
  },

hinell avatar Jan 29 '23 19:01 hinell

https://github.com/L3MON4D3/LuaSnip/pull/846

hinell avatar Mar 29 '23 10:03 hinell