diff options
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 0d52f58e62..681ab2ca2b 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -2987,8 +2987,13 @@ parse_command_modifiers( continue; } + case 'h': if (checkforcmd_noparen(&eap->cmd, "horizontal", 3)) + { + cmod->cmod_split |= WSP_HOR; + continue; + } // ":hide" and ":hide | cmd" are not modifiers - case 'h': if (p != eap->cmd || !checkforcmd_noparen(&p, "hide", 3) + if (p != eap->cmd || !checkforcmd_noparen(&p, "hide", 3) || *p == NUL || ends_excmd(*p)) break; eap->cmd = p; |