Add highlighting for git_commit (#7147)
https://github.com/zed-industries/zed/assets/45585937/32cf5622-e960-4775-986d-bcfd30c81098 Release Notes: - Added highlighting for git_commit
This commit is contained in:
parent
39200ec9f7
commit
b7ced3943e
7 changed files with 66 additions and 1 deletions
11
crates/zed/src/languages/gitcommit/config.toml
Normal file
11
crates/zed/src/languages/gitcommit/config.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
name = "Git commit"
|
||||
path_suffixes = [
|
||||
# Refer to https://github.com/neovim/neovim/blob/master/runtime/lua/vim/filetype.lua#L1286-L1290
|
||||
"TAG_EDITMSG",
|
||||
"MERGE_MSG",
|
||||
"COMMIT_EDITMSG",
|
||||
"NOTES_EDITMSG",
|
||||
"EDIT_DESCRIPTION",
|
||||
]
|
||||
line_comments = ["#"]
|
||||
brackets = []
|
Loading…
Add table
Add a link
Reference in a new issue