Re: [bitbake-devel] [PATCH] contrib/vim: highlight inherit_defer and include_all
"Antonin Godard" <[email protected]>
| Newsgroups | org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Thu Apr 23, 2026 at 5:13 PM CEST, Trevor Woerner via lists.openembedded.org wrote: > The vim syntax file's "Includes and requires" rule only matched > inherit, include and require. BitBake also accepts the inherit_defer > and include_all directives, so they should be highlighted the same > way. > > Add both keywords to bbInclude and to the bbIncludeLine match > pattern. Longer keywords are listed first in the alternation so the > regex does not match the shorter prefix (e.g. inherit_defer must win > over inherit). Why do we maintain a syntax file here since it's already part of upstream vim [1]? [1]: https://github.com/vim/vim/blob/master/runtime/syntax/bitbake.vim Antonin