Vim session files use vim9script, which requires the .. string concatenation syntax, but the legacy . form is currently used when making a session file from a state where one Vim terminal is shared in multiple windows.
Go to a test directory , launch vim, open a vim terminal, split its window, make a session file, then quit. Sourcing the created session file will fail during execution with error E15: Invalid expression: ". term_buf_2". Like this:
$ cd "$(mktemp -d)" $ vim --clean -c 'exec "term"|sp|mksession!|qa!' $ vim --clean -S Session.vim
.. form in the specific part of the term_write_session function where the legacy form was still used.https://github.com/vim/vim/pull/21224
(2 files)
—
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.![]()
—
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.![]()