mirror of
https://github.com/neovim/neovim.git
synced 2025-12-11 09:02:40 +00:00
options: Remove "g" flag from 'cpoptions' #2505
This commit is contained in:
committed by
Michael Reed
parent
0bce4dc544
commit
deeee5bfab
@@ -6037,10 +6037,7 @@ do_exedit (
|
||||
setpcmark();
|
||||
if (do_ecmd(0, (eap->cmdidx == CMD_enew ? NULL : eap->arg),
|
||||
NULL, eap,
|
||||
/* ":edit" goes to first line if Vi compatible */
|
||||
(*eap->arg == NUL && eap->do_ecmd_lnum == 0
|
||||
&& vim_strchr(p_cpo, CPO_GOTO1) != NULL)
|
||||
? ECMD_ONE : eap->do_ecmd_lnum,
|
||||
eap->do_ecmd_lnum,
|
||||
(P_HID(curbuf) ? ECMD_HIDE : 0)
|
||||
+ (eap->forceit ? ECMD_FORCEIT : 0)
|
||||
// After a split we can use an existing buffer.
|
||||
|
||||
Reference in New Issue
Block a user