zdharma-continuum / fast-syntax-highlighting

Feature-rich syntax highlighting for ZSH
BSD 3-Clause "New" or "Revised" License
1.06k stars 76 forks source link

add support for `goawk` #51

Closed LucasLarson closed 1 year ago

LucasLarson commented 1 year ago

goawk (benhoyt/goawk) is a POSIX-compliant AWK interpreter[^1] that can benefit from the same syntax highlighting as the other AWK interpreters^2 already present in this repository.

[^1]: Note that goawk also features a CSV- and TSV-file mode,^3 which this pull request does not address in terms of highlighting. As a result, CSV- and TSV-file-mode code enclosed by single quotes might appear as if it were highlighted incorrectly or as invalid AWK. However, I believe the advantage of providing proper syntax highlighting for well-formed AWK outweighs this potential edge case and justifies the inclusion of goawk as an AWK interpreter.