Fork of zed-extensions/git_firefly
- Tree-sitter Query 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
This PR updates the CI workflow files from the main Zed repository based on the commit zed-industries/zed@3183c04515 The update includes a new version of the extension CLI which adds validation for semantic token rules for languages Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com> |
||
| .github/workflows | ||
| .zed | ||
| languages | ||
| .gitignore | ||
| .taplo.toml | ||
| extension.toml | ||
| LICENSE | ||
| README.md | ||
Git Firefly
Provide the syntax highlighting for the following Languages:
- Git Attributes: .gitattributes, .git/info/attributes, etc
- Git Config: .gitconfig, .gitmodules, .lfsconfig, config.worktree
- Git Ignore: .gitignore, .dockerignore, .npmignore, .prettierignore, etc
- Git Rebase: git-rebase-todo
Configuration
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"]
},
}
Use zed commit editor
{
"terminal": {
"env": {
"GIT_EDITOR": "zed --wait"
}
}
}
And Then
git add .
git commit
git push