mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.1.0573: ex: no implicit print for single addresses
Problem: ex: no implicit print for single addresses Solution: explicitly print even during single addresses, as requested by POSIX (Mohamed Akram) See the POSIX behaviour here: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html#tag_20_40_13_03 Section 6b closes: #15230 Signed-off-by: Mohamed Akram <mohd.akram@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
cb7928812e
commit
c25a7084e9
@ -2730,7 +2730,7 @@ ex_range_without_command(exarg_T *eap)
|
||||
{
|
||||
char *errormsg = NULL;
|
||||
|
||||
if ((*eap->cmd == '|' || (exmode_active && eap->line1 != eap->line2))
|
||||
if ((*eap->cmd == '|' || exmode_active)
|
||||
#ifdef FEAT_EVAL
|
||||
&& !in_vim9script()
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user