[vim/vim] command complete=breakpoint and filetypecmd miss items (PR #21419)

2 views
Skip to first unread message

glepnir

unread,
5:23 AM (6 hours ago) 5:23 AM
to vim/vim, Subscribed

What does this change do?

:command -nargs=1 -complete=breakpoint DoBreak :
:breakdel <C-A>     "file func here 
:DoBreak <C-A>      "file func here   expr is missing

Commit message

Problem: Completion for -complete=breakpoint/filetypecmd uses stale
state from a previous :breakdel/:profdel/:filetype completion.
Solution: Reset the state in set_cmd_context() and getcompletion().

AI assistance

  • No AI was used

Checklist

  • The commit message follows the Problem/Solution form above
  • Tests were added, existing tests cover the change, or the change cannot be tested (say why)
  • No documentation update is needed

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

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

Commit Summary

  • ee250a2 command complete=breakpoint and filetypecmd miss items

File Changes

(2 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/21419@github.com>

Reply all
Reply to author
Forward
0 new messages