Skip to content

Conversation

@Techatrix
Copy link
Member

Examples of completion snippets that were previously broken:

test {
    // autocomplete the given functions here
}

// the closing brace of `error{}` would not be part of the snippet argument placeholders
fn foo(_: error{}) void {}

// The function name would be interpreted as a snippet placeholder
fn @"${0}"() void {}
``

@Techatrix Techatrix merged commit fc87cbc into master Jan 17, 2026
6 checks passed
@Techatrix Techatrix deleted the techatrix/escape-snippets branch January 17, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants