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.

Add auto-surround support for tilde in Markdown (#58614)

Joseph T. Lyonsfcb95aaee47f
diff --git a/crates/grammars/src/markdown/config.toml b/crates/grammars/src/markdown/config.toml
index 46c41470209..b366032579c 100644
--- a/crates/grammars/src/markdown/config.toml
+++ b/crates/grammars/src/markdown/config.toml
@@ -14,6 +14,7 @@ brackets = [
{ start = "'", end = "'", close = false, newline = false },
{ start = "`", end = "`", close = false, newline = false },
{ start = "*", end = "*", close = false, newline = false, surround = true },
+ { start = "~", end = "~", close = false, newline = false, surround = true },
]
rewrap_prefixes = [
"[-*+]\\s+",