Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

git_ui: Fix list in git commit message (#33409)

Umesh Yadav6e9c6c568465
diff --git a/crates/languages/src/gitcommit/config.toml b/crates/languages/src/gitcommit/config.toml
index ae4b836ed66..c2421ce0061 100644
--- a/crates/languages/src/gitcommit/config.toml
+++ b/crates/languages/src/gitcommit/config.toml
@@ -16,3 +16,9 @@ brackets = [
{ start = "{", end = "}", close = true, newline = false },
{ start = "[", end = "]", close = true, newline = false },
]
+rewrap_prefixes = [
+ "[-*+]\\s+",
+ "\\d+\\.\\s+",
+ ">\\s*",
+ "[-*+]\\s+\\[[\\sx]\\]\\s+"
+]