[vim/vim] Fix indenting for brackets within python byte strings (PR #20827)

3 views
Skip to first unread message

Chen

unread,
Jul 23, 2026, 7:13:33 AM (yesterday) Jul 23
to vim/vim, Subscribed

Problem: Opening bracket characters inside python byte string literals are highlighted under a syntax group that does not end in "String", resulting in the indent script's string detection check to fail at recognising them, causing incorrect auto-indentation

Solution: Rename pythonBytes/pythonRawBytes to
pythonBytesString/pythonRawBytesString

fixes: #20812


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

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

Commit Summary

  • 625ab77 Fix indenting for brackets within python byte strings

File Changes

(19 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20827@github.com>

Christian Brabandt

unread,
Jul 23, 2026, 7:32:18 AM (yesterday) Jul 23
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20827)

ping @zvezdan


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20827/c5057884531@github.com>

Reply all
Reply to author
Forward
0 new messages