sharkdp / bat

A cat(1) clone with wings.
Apache License 2.0
48.6k stars 1.23k forks source link

Support bitbake files #2116

Open laoshaw opened 2 years ago

laoshaw commented 2 years ago

bitbake is used in embedded linux field, markdown code block and vim supported it well, embedded linux is a niche field but in this field yocto/bitbake is quite dominant. Please considering add its core format: bitbake files (.bb, .bbclass, *.bbappend all the same format)

the official syntax is below, however vim or sublime2 existing syntax file might be helpful.

https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html

Syntax:

https://github.com/kergoth/vim-bitbake/tree/master/syntax

Guideline Criteria:

https://packagecontrol.io/packages/Bitbake%20Syntax

sharkdp commented 2 years ago

The syntax doesn't seem to meet our current criteria for inclusion. Note that there is an easy way to customize your version of bat: https://github.com/sharkdp/bat#adding-new-syntaxes--language-definitions