From 661455cc4757f3de524f7f47bccf0c46fe0bc586 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 6 Jan 2026 20:17:48 +0800 Subject: [PATCH] vim-patch:9.1.2056: tests: inconsistent indent and line breaking in Test_maparg() (#37269) Problem: tests: inconsistent indent and line breaking in Test_maparg(). Solution: Consistently use spaces-only indent. Reorder fields to group similar ones together and break lines at consistent positions. Remove a mapping when it is no longer used (zeertzjq). closes: vim/vim#19099 https://github.com/vim/vim/commit/254f844dda1d4d6b4ac2be8a9a3e51d6c4569daf --- test/old/testdir/test_map_functions.vim | 59 +++++++++++++------------ 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/test/old/testdir/test_map_functions.vim b/test/old/testdir/test_map_functions.vim index f50347c3c0..9c365b9708 100644 --- a/test/old/testdir/test_map_functions.vim +++ b/test/old/testdir/test_map_functions.vim @@ -11,47 +11,50 @@ func Test_maparg() new set cpo-=< set encoding=utf8 - " Test maparg() with a string result let sid = s:SID() + let lnum = expand('') map foo isfoo vnoremap