Git Commit Language

Loogv0.1.0NOASSERTION

Syntax highlighting for Git Commit.

InstallOpens in Loog

Details

Syntax highlighting for Git Commit.

  • Grammars: gitcommit
  • File types: commit_editmsg, merge_msg, tag_editmsg
  • License of the bundled grammar and queries: NOASSERTION

The grammar is a Tree-sitter parser compiled to WebAssembly from pinned sources; PROVENANCE.md lists them and licenses/ carries their licenses.

Change how it is colored

Put your own gitcommit/highlights.scm in Loog's queries folder. Start the file with ; extends to add rules to the ones here; without it your file replaces them. Use Inspect Highlight at Cursor to see which rule colors a place.

Contributions

Syntax highlighting
GrammarFile types
gitcommit
commit_editmsgmerge_msgtag_editmsg

Changelog

0.1.3

  • Changed the extension category from Languages to Syntax Highlighting.

0.1.2

  • The manifest names what the extension is for: contributes.highlight replaces contributes.languages. The grammar and queries are unchanged; this needs a Loog that reads the new name.

0.1.1

  • The extension builds itself; nothing in what it contains changed.

0.1.0

  • Built from the pinned sources listed in PROVENANCE.md.