diff options
| author | glepnir <glephunter@gmail.com> | 2026-02-13 19:29:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-13 06:29:48 -0500 |
| commit | a7a7cdbcda1f0ef5a29742aea973d2d1c0bfa9a0 (patch) | |
| tree | 2d3cebcc0ffbc08494347a29e69140ac06aa998f /test/functional/vimscript/executable_spec.lua | |
| parent | 1ed064625c1cb71161c4683c5cb0b2d19bf3c091 (diff) | |
| download | rneovim-a7a7cdbcda1f0ef5a29742aea973d2d1c0bfa9a0.tar.gz rneovim-a7a7cdbcda1f0ef5a29742aea973d2d1c0bfa9a0.tar.bz2 rneovim-a7a7cdbcda1f0ef5a29742aea973d2d1c0bfa9a0.zip | |
fix(cmd): filter stdin file "-" from v:argv on :restart #37165
Problem:
restart hangs when nvim was started with stdin input, "-" marker stays
in v:argv, causing the restarted instance to block reading from stdin.
Solution:
filter out the "-" argument when rebuilding v:argv during restart.
Stdin content is ephemeral and shouldn't be re-read after restart.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions