]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(bitbake): fix multiline Python function parameter syntax
authorMartin Schwan <m.schwan@phytec.de>
Mon, 13 Oct 2025 18:50:20 +0000 (18:50 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 13 Oct 2025 18:50:20 +0000 (18:50 +0000)
commit5fe4faa711b5a4736529c94ace306de17d7a20de
tree07e5e871c54040bb85de3bde7307ba9c3659fadb
parent64c8105867ae6342b632246ac5430a59521e740d
runtime(bitbake): fix multiline Python function parameter syntax

Fix syntax highlighting for def-style Python functions, with their
parameters spanning multiple lines. E.g. the following should match as
valid Python code in Bitbake recipes:

    def myFunction(one, two, \
                   three, four):
        pass

For this to work, use the prefix modifier "\_" before the wildcard ".",
to also match newline characters.

closes: #18565

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/bitbake.vim