diff src/testdir/test_usercommands.vim @ 30017:578e71f924fe v9.0.0346

patch 9.0.0346: :horizontal modifier not fully supported Commit: https://github.com/vim/vim/commit/d3de178e5352fedf0f30b979f46a2fcbca24ea40 Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Sep 1 12:58:52 2022 +0100 patch 9.0.0346: :horizontal modifier not fully supported Problem: :horizontal modifier not fully supported. Solution: Also use :horizontal for completion and user commands. (closes #11025)
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Sep 2022 14:00:04 +0200
parents 48b086982c01
children a3016780f346
line wrap: on
line diff
--- a/src/testdir/test_usercommands.vim
+++ b/src/testdir/test_usercommands.vim
@@ -103,6 +103,10 @@ function Test_cmdmods()
   call assert_equal('vertical', g:mods)
   vert MyCmd
   call assert_equal('vertical', g:mods)
+  horizontal MyCmd
+  call assert_equal('horizontal', g:mods)
+  hor MyCmd
+  call assert_equal('horizontal', g:mods)
 
   aboveleft belowright botright browse confirm hide keepalt keepjumps
 	      \ keepmarks keeppatterns lockmarks noautocmd noswapfile silent