forked from aniani/vim
updated for version 7.4.098
Problem: When using ":'<,'>del" errors may be given for the visual line numbers being out of range. Solution: Reset Visual mode in ":del". (Lech Lorens)
This commit is contained in:
@@ -8570,6 +8570,11 @@ ex_operators(eap)
|
||||
beginline(BL_SOL | BL_FIX);
|
||||
}
|
||||
|
||||
#if defined(FEAT_VISUAL)
|
||||
if (VIsual_active)
|
||||
end_visual_mode();
|
||||
#endif
|
||||
|
||||
switch (eap->cmdidx)
|
||||
{
|
||||
case CMD_delete:
|
||||
|
Reference in New Issue
Block a user