[vim/vim] Vim9: fix unexpected E1209 error (PR #19067)

9 views
Skip to first unread message

h_east

unread,
Jan 2, 2026, 12:48:46 PM (4 days ago) Jan 2
to vim/vim, Subscribed

New Year 🎉

Related: #8536 (8.2.3144)

$ LANG=C vim --cmd "vim9cmd echo getline('.')"
Error detected while processing pre-vimrc command line:
E1209: Invalid value for a line number: ".1"
Press ENTER or type command to continue

echo getline('.') is a valid Vim9 script, so shouldn't it display an error?
(The buffer has not yet been created?)


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

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

Commit Summary

  • 83a9e52 Vim9: fix unexpected E1209 error

File Changes

(2 files)

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

h_east

unread,
Jan 2, 2026, 1:11:09 PM (4 days ago) Jan 2
to vim/vim, Push

@h-east pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19067/before/83a9e527a6d5f9784cf2f8de10aeb8424bb765f6/after/830a082c77a980a5e16dec6ccba6add68d447a1c@github.com>

Christian Brabandt

unread,
Jan 3, 2026, 12:30:41 PM (3 days ago) Jan 3
to vim/vim, Subscribed

Closed #19067 via 4a9967b.


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/19067/issue_event/21837138594@github.com>

Christian Brabandt

unread,
Jan 3, 2026, 12:31:12 PM (3 days ago) Jan 3
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19067)

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

Reply all
Reply to author
Forward
0 new messages