Skip to content

Commit

Permalink
golang: autoclose backticks (#12050)
Browse files Browse the repository at this point in the history
Fixes #12025



Release Notes:
- Fixed backtick characters not getting autoclosed in Golang files
(#12025).
  • Loading branch information
osiewicz committed May 20, 2024
1 parent ab7ce32 commit 7db85b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/languages/src/go/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ brackets = [
{ start = "(", end = ")", close = true, newline = true },
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["comment", "string"] },
{ start = "'", end = "'", close = true, newline = false, not_in = ["comment", "string"] },
{ start = "`", end = "`", close = true, newline = false, not_in = ["comment", "string"] },
{ start = "/*", end = " */", close = true, newline = false, not_in = ["comment", "string"] },
]
tab_size = 4
Expand Down

0 comments on commit 7db85b0

Please sign in to comment.