garymjr / garymjr/nvim-snippets

FR: support project-scoped snippets (`.code-snippets`)

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
259
Forks
20
PR merge metrics
No merged PRs in 30d

Description

The VSCode format also supports [project-scoped snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_project-snippet-scope), which is also supported by [Luasnip](https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#standalone).

The syntax is pretty much the same, only with the addition of the `scope` key to determine the filetype of a snippet.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked VSCode project-snippet documentation and LuaSnip standalone documentation, then locate the existing VSCode snippet handling in the repository. Done means project-scoped `.code-snippets` files are accepted and their `scope` key determines the snippet filetype.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim, vscode
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.