[vim/vim] Fix Bitbake varflag detection (PR #19983)

1 view
Skip to first unread message

Martin Schwan

unread,
Apr 15, 2026, 4:19:18 AMApr 15
to vim/vim, Subscribed

Enable syntax highlighting for forward-slashes in Bitbake variables with varflags. Bitbake allows for forward-slashes in both the variable name and their potential varflags. E.g. the following should match:

FOO_BAR[baz] = "foobar"
FOO_BAR_foo/bar[baz] = "foobar"
FOO_BAR_foo/bar[baz/bazzer] = "foobar"

Also allow plus-signs in variable names, to be in line with normal variable names.

When detecting Bitbake .inc files, additionally consider varflags during parsing.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19983

Commit Summary

  • 70cbdc2 runtime(bitbake): support forward-slashes in bitbake varflags
  • 7b991ce runtime(filetype): Extend Bitbake .inc file detection to varflags

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19983@github.com>

Christian Brabandt

unread,
Apr 15, 2026, 2:06:19 PMApr 15
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19983)

thanks


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19983/c4254352057@github.com>

Christian Brabandt

unread,
Apr 15, 2026, 2:14:58 PMApr 15
to vim/vim, Subscribed

Closed #19983 via 0e02be1.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19983/issue_event/24539516781@github.com>

Reply all
Reply to author
Forward
0 new messages