# HG changeset patch # User Bram Moolenaar # Date 1543119306 -3600 # Node ID e52034f8b4574ef37586a5fb2be8c5949ea157f8 # Parent c63df119db95b58ec44fa742ce3108ac7ff824f9 patch 8.1.0547: modeline test with keymap still fails commit https://github.com/vim/vim/commit/3067a4dd0d768d1e4a47cf3c100f3e2b462717d7 Author: Bram Moolenaar Date: Sun Nov 25 05:06:48 2018 +0100 patch 8.1.0547: modeline test with keymap still fails Problem: Modeline test with keymap still fails. Solution: Check that the keymap feature is available for the failure assert. diff --git a/src/testdir/test_modeline.vim b/src/testdir/test_modeline.vim --- a/src/testdir/test_modeline.vim +++ b/src/testdir/test_modeline.vim @@ -87,5 +87,8 @@ func Test_modeline_syntax_fails() endfunc func Test_modeline_keymap_fails() + if !has('keymap') + return + endif call s:modeline_fails('keymap', 'keymap=evil$CMD') endfunc diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -793,6 +793,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 547, +/**/ 546, /**/ 545,