Skip to content

Commit

Permalink
Update packages/cursorless-engine/src/actions/GenerateSnippet/Generat…
Browse files Browse the repository at this point in the history
…eSnippetCommunity.ts
  • Loading branch information
phillco authored Jan 23, 2025
1 parent 7646f6e commit b585a44
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ function getsSnippetSelections(editor: TextEditor, range: Range): Selection[] {
return selections;
}

// Used to temporarily escape the $1, $2 snippet holes (the "meta snippet" holes that become live snippets when the user edits) so we can use traditional backslash escaping for the holes in the underlying snippet itself (the "user snippet" holes that will be saved as part of their new template).
const PLACEHOLDER = "PLACEHOLDER_VFA77zcbLD6wXNmfMAay";

interface Variable {
Expand Down

0 comments on commit b585a44

Please sign in to comment.