Bash Language

Loogv0.1.0MIT

Syntax highlighting for Bash.

InstallOpens in Loog

Details

Syntax highlighting for Bash.

  • Grammar: bash
  • File types: sh, bash, .bashrc, .bash_profile
  • License of the bundled grammar and queries: MIT

The grammar is the upstream Tree-sitter parser compiled to WebAssembly from a pinned source; PROVENANCE.md names it and LICENSE is its license.

Change how it is colored

Put your own bash/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
bash
shbash.bashrc.bash_profile

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 tree-sitter-bash source listed in PROVENANCE.md.