PowerShell Language

Loogv0.1.0MIT

Syntax highlighting for PowerShell.

InstallOpens in Loog

Details

Syntax highlighting for PowerShell.

  • Grammars: powershell
  • File types: ps1, psm1, psd1
  • 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 powershell/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
powershell
ps1psm1psd1

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.