[vim/vim] runtime(bitbake): fix multiline Python function parameter syntax (PR #18565)

1 view
Skip to first unread message

Martin Schwan

unread,
10:46 AM (12 hours ago) 10:46 AM
to vim/vim, Subscribed

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.


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

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

Commit Summary

  • dddbc4b runtime(bitbake): fix multiline Python function parameter syntax

File Changes

(1 file)

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/18565@github.com>

Christian Brabandt

unread,
2:46 PM (8 hours ago) 2:46 PM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18565)

thanks


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/18565/c3398664138@github.com>

Christian Brabandt

unread,
2:54 PM (8 hours ago) 2:54 PM
to vim/vim, Subscribed

Closed #18565 via 5fe4faa.


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/18565/issue_event/20253660375@github.com>

Reply all
Reply to author
Forward
0 new messages