Git Attributes Language

Loogv0.1.0MIT

Syntax highlighting for Git Attributes.

InstallOpens in Loog

Details

Syntax highlighting for Git Attributes.

  • Grammars: gitattributes
  • File types: gitattributes, .gitattributes
  • License of the bundled grammar and queries: MIT

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 gitattributes/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
gitattributes
gitattributes.gitattributes

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.