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.

664 B
Raw Blame
name = "Git Commit"
grammar = "gitcommit"
path_suffixes = [
  "TAG_EDITMSG",
  "MERGE_MSG",
  "COMMIT_EDITMSG",
  "NOTES_EDITMSG",
  "EDIT_DESCRIPTION",
]
line_comments = ["# "]
brackets = [
  { start = "(", end = ")", close = true, newline = false },
  { start = "`", end = "`", close = true, newline = false },
  { start = "\"", end = "\"", close = true, newline = false },
  { start = "'", end = "'", close = true, newline = false },
  { start = "{", end = "}", close = true, newline = false },
  { start = "[", end = "]", close = true, newline = false },
]
rewrap_prefixes = [
    "[-*+]\\s+",
    "\\d+\\.\\s+",
    ">\\s*",
    "[-*+]\\s+\\[[\\sx]\\]\\s+"
]