# HG changeset patch # User Bram Moolenaar # Date 1543116608 -3600 # Node ID aabaf1499d057a2e6ade6fc31c5b3961410e05dc # Parent e041d2747f626279a0a8d976531e54decfa368a0 patch 8.1.0546: modeline test with keymap fails commit https://github.com/vim/vim/commit/4ace6ab7e72151d78f1563b23b498ed20fa00211 Author: Bram Moolenaar Date: Sun Nov 25 04:25:58 2018 +0100 patch 8.1.0546: modeline test with keymap fails Problem: Modeline test with keymap fails. Solution: Check that the keymap feature is available. 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 @@ -44,6 +44,9 @@ func Test_modeline_syntax() endfunc func Test_modeline_keymap() + if !has('keymap') + return + endif call writefile(['vim: set keymap=greek :', 'nothing'], 'Xmodeline_keymap') let modeline = &modeline set modeline 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 */ /**/ + 546, +/**/ 545, /**/ 544,