diff options
| author | glepnir <glephunter@gmail.com> | 2026-02-27 17:30:45 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-27 04:30:45 -0500 |
| commit | f45c550f4edd49815470e84447cb4ed9dd7a80fc (patch) | |
| tree | b3838beb5757ceb875cdf02b2bb618f5417842e8 /runtime/lua/vim/provider/python.lua | |
| parent | acf81031992320e0f8d0dddb3164ba9d7d40fc26 (diff) | |
| download | rneovim-f45c550f4edd49815470e84447cb4ed9dd7a80fc.tar.gz rneovim-f45c550f4edd49815470e84447cb4ed9dd7a80fc.tar.bz2 rneovim-f45c550f4edd49815470e84447cb4ed9dd7a80fc.zip | |
fix(restart): drop "-s <scriptfile>" from v:argv on :restart #38058
Problem: When nvim is started with "-s -" (read from stdin), ":restart"
drops the "-" argument but keeps "-s", leaving an orphaned "-s" in the
restarted server's argv, causing a crash.
Solution: Drop "-s" and its scriptfile argument when copying v:argv for
the restarted server. Like "-- [files…]", the scriptfile is a one-shot
startup input that should not be replayed on restart
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions