0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.4028: ml_get error with :doautoall and Visual area

Problem:    ml_get error with :doautoall and Visual area. (Sean Dewar)
Solution:   Disable Visual mode while executing autocommands.
This commit is contained in:
Bram Moolenaar
2022-01-07 15:45:18 +00:00
parent 2b04d5f1ef
commit cb1956d6f2
4 changed files with 22 additions and 2 deletions

View File

@@ -4031,6 +4031,7 @@ typedef struct
int save_prevwin_id; // ID of saved prevwin
bufref_T new_curbuf; // new curbuf
char_u *globaldir; // saved value of globaldir
int save_VIsual_active; // saved VIsual_active
} aco_save_T;
/*