Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

More "autoClosingPairs" and "autoCloseBefore" in language-configuration.json #411

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Myriad-Dreamin
Copy link
Collaborator

  • Autocomplete a close pair on enter /* or `.
  • Auto close pairs before more marks, borrowed from rust-analyzer
{
    "autoClosingPairs": [
        { "open": "/*", "close": " */" },
        {
            "open": "`",
            "close": "`",
            "notIn": ["string"]
        }
    ],
    // changed from "autoCloseBefore": "$ \n\t",
    "autoCloseBefore": ";:.,=}])>$ \n\t",
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant