[vim/vim] "%v" in 'errorformat' is affected by 'tabstop' (PR #20359)

1 view
Skip to first unread message

h_east

unread,
9:55 AM (7 hours ago) 9:55 AM
to vim/vim, Subscribed
Problem:  The "%v" item in 'errorformat' interprets the reported
          screen column using the buffer's 'tabstop', so the cursor
          jumps to the wrong column when 'tabstop' is not 8
          (vimpostor).
Solution: When resolving a "%v" column, always count a <tab> as 8
          screen columns, independent of 'tabstop', matching the
          column numbers reported by compilers; keep the multi-byte
          handling.  Also use "%v" in the gcc compiler file and
          update the documentation.

fixes: #20321


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

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

Commit Summary

  • 512c7e7 "%v" in 'errorformat' is affected by 'tabstop'

File Changes

(4 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/20359@github.com>

Christian Brabandt

unread,
3:11 PM (2 hours ago) 3:11 PM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20359)

thanks


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

Reply all
Reply to author
Forward
0 new messages