diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-11-25 04:25:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-11-25 04:25:58 +0100 |
commit | 4ace6ab7e72151d78f1563b23b498ed20fa00211 (patch) | |
tree | 483bd012b2e67ee136ef957a6127ab1336b052ac /src/testdir/test_modeline.vim | |
parent | dc2f73a6980be13c97a83047d0de50824bc0f20f (diff) | |
download | vim-git-4ace6ab7e72151d78f1563b23b498ed20fa00211.tar.gz |
patch 8.1.0546: modeline test with keymap failsv8.1.0546
Problem: Modeline test with keymap fails.
Solution: Check that the keymap feature is available.
Diffstat (limited to 'src/testdir/test_modeline.vim')
-rw-r--r-- | src/testdir/test_modeline.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_modeline.vim b/src/testdir/test_modeline.vim index c1eb99153..d29bbb50b 100644 --- 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 |