aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorSean Dewar <6256228+seandewar@users.noreply.github.com>2025-03-03 20:43:07 +0000
committerSean Dewar <6256228+seandewar@users.noreply.github.com>2025-08-26 09:49:12 +0100
commitc845f1923d0f0a3f69606de4987d4e2d95856922 (patch)
tree6c98900f1d3aa18505c0228a3b6f639d6e22b036 /runtime/syntax/python.vim
parentb7124ae7684d4f6053c74c914a8faf8d98e5d5b3 (diff)
downloadrneovim-c845f1923d0f0a3f69606de4987d4e2d95856922.tar.gz
rneovim-c845f1923d0f0a3f69606de4987d4e2d95856922.tar.bz2
rneovim-c845f1923d0f0a3f69606de4987d4e2d95856922.zip
fix(terminal): patch various autocommand-related holes
Problem: autocommands can cause various problems in terminal mode, which can lead to crashes, for example. Solution: fix found issues. Move some checks to terminal_check and guard against autocommands messing with things. Trigger TermEnter/Leave after terminal mode has changed/restored most state. Wipeout the correct buffer if TermLeave switches buffers and fix a UAF if it or WinScrolled/Resized frees the terminal prematurely. These changes also allow us to remove the buffer restrictions on TextChangedT; they were inadequate in stopping some issues, and WinScrolled/Resized was lacking them anyway.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions