diff --git a/crates/languages/src/python/config.toml b/crates/languages/src/python/config.toml index a51a186007..0b12f4b5f0 100644 --- a/crates/languages/src/python/config.toml +++ b/crates/languages/src/python/config.toml @@ -5,6 +5,8 @@ first_line_pattern = '^#!.*\bpython[0-9.]*\b' line_comments = ["# "] autoclose_before = ";:.,=}])>" brackets = [ + { start = "\"\"\"", end = "\"\"\"", close = true, newline = false, not_in = ["string"] }, + { start = "'''", end = "'''", close = true, newline = false, not_in = ["string"] }, { start = "{", end = "}", close = true, newline = true }, { start = "[", end = "]", close = true, newline = true }, { start = "(", end = ")", close = true, newline = true },