[vim/vim] Fix expression register was broken when put was not evaluate (#8909)

Skip to first unread message


Sep 23, 2021, 2:46:25 PMSep 23
to vim/vim, Subscribed

Describe the bug
Expression register was broken when :put command was not evaluated.

To Reproduce
Detailed steps to reproduce the behavior:

  1. Run vim --clean (or gvim --clean, etc.)
  2. Execute following Vim script
call setreg('=', '1+1')
if 0
  put =1
echo string(getreg('=', 1))
  1. Displays ''

Expected behavior
Displays '1+1'

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


Commit Summary

File Changes

Patch Links:

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Bram Moolenaar

Oct 4, 2021, 5:18:23 PMOct 4
to vim/vim, Subscribed

Closed #8909 via 08d7b1c.

Reply all
Reply to author
0 new messages