Provide the syntax highlighting for the following Languages:
- Git Attributes: .gitattributes, .git/info/attributes, etc
- Git Commit: COMMIT_EDITMSG, EDIT_DESCRIPTION, MERGE_MSG, NOTES_EDITMSG, TAG_EDITMSG
- Git Config: .gitconfig, .gitmodules, .lfsconfig, config.worktree
- Git Ignore: .gitignore, .dockerignore, .npmignore, .prettierignore, etc
- Git Rebase: git-rebase-todo
This extension will automatically recognize the majority of filenames/extensions out of the box, but some require some additional configuration via [file_types] in Zed Settings:
{
"file_types": {
"Git Attributes": ["**/{git,.git,.git/info}/attributes"],
"Git Config": ["*.gitconfig", "**/{git,.git/modules,.git/modules/*}/config"],
"Git Ignore": ["**/{git,.git}/ignore", "**/.git/info/exclude"]
},
}{
"terminal": {
"env": {
"GIT_EDITOR": "zed --wait"
}
}
}And Then
git add .
git commit
git push