Skip to content

Any way to remove auto-pair brackets? #7612

Closed Answered by SomeoneToIgnore
etiennelacoursiere asked this question in Q&A
Discussion options

You must be logged in to vote

There are two things that could force autocloses, here are the relevant default settings.json entries:

  • Zed functionality, defined for every language like
    brackets = [
    { start = "{", end = "}", close = true, newline = true },
    { start = "[", end = "]", close = true, newline = true },
    { start = "(", end = ")", close = true, newline = true },
    { start = "<", end = ">", close = false, newline = true, not_in = ["string", "comment"] },
    { start = "\"", end = "\"", close = true, newline = false, not_in = ["string"] },
    { start = "/*", end = " */", close = true, newline = false, not_in = ["

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mbylstra
Comment options

@etiennelacoursiere
Comment options

@mbylstra
Comment options

Answer selected by SomeoneToIgnore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants