Open FederAndInk opened 10 months ago
I'd like to check if the current bash parser (tree-sitter-bash) works okay with bitbake files. Would you suggest me some sample .bb files?
Thanks for looking into it :+1:
The best would be to clone poky and look at the different .bb
.bbappend
.bbclass
.inc
files: https://git.yoctoproject.org/poky
some examples: https://git.yoctoproject.org/poky/tree/meta/recipes-extended/bash/bash.inc https://git.yoctoproject.org/poky/tree/meta/recipes-extended/iptables/iptables_1.8.9.bb https://git.yoctoproject.org/poky/tree/meta/classes/useradd.bbclass https://github.com/kraj/meta-clang/blob/master/recipes-devtools/python/python3_%25.bbappend
Thanks for the reference. The auto-completions and hovers seem to work.
So, I released v0.2.15 that activates with Bitbake language mode. Hope it's useful ✨
Thanks ^^ Seems to be working :tada:
add support for other languages (other than shellscript) such as bitbake (.bb, .bbappend files marked as bitbake lang with the bitbake extension) which is a mix of python and shell. I think just adding support in the entire bitbake file would be enough.
Transfered from https://github.com/yamaton/h2o-curated-data/issues/4