Fork of zed-extensions/git_firefly
  • Tree-sitter Query 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
zed-zippy[bot] e3d4c50dd5
Update CI workflows to 3183c04 (#48)
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>
2026-03-25 18:55:09 +00:00
.github/workflows Update CI workflows to 3183c04 (#48) 2026-03-25 18:55:09 +00:00
.zed Fix file_types config (#26) 2025-10-28 14:53:25 +01:00
languages Format Tree-sitter query files (#46) 2026-03-16 23:11:43 +00:00
.gitignore ignore grammars 2024-05-01 22:59:38 +08:00
.taplo.toml Enable taplo auto-formatting for TOML (#17) 2025-07-19 08:54:55 -04:00
extension.toml Bump version to 0.1.4 (#45) 2026-03-16 23:13:14 +00:00
LICENSE Create LICENSE 2025-09-30 11:48:25 -04:00
README.md Fix lists in commit messages (#32) 2025-12-04 12:41:22 -05:00

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