
- Load syntax colors into commit message editors - Fix name mismatches that were preventing the git commit grammar and language config from being matched up Release Notes: - Fixed git commit messages not being syntax-highlighted
18 lines
560 B
TOML
18 lines
560 B
TOML
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 },
|
|
]
|