vim --cleanset hidden edit Xa edit Xb call setline(1, 'bar') enew au BufWriteCmd Xb ++nested call setbufvar('Xa', '&ft', 'foo') | bw! Xa au FileType foo call py3eval('vim.current.buffer.options["cindent"]') wall
No crash
9.0.910
Operating system: Arch Linux
Terminal: kitty
Value of $TERM: xterm-kitty
Shell: fish
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I haven't managed to build Vim from source with if_pyth, but I think this is related to these lines in aucmd_prepbuf():
if (win == NULL && aucmd_win_used) // Strange recursive autocommand, fall back to using the current // window. Expect a few side effects... win = curwin;
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Fixed by patch 9.0.0965
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Closed #11631 as completed.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()