diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-25 15:40:20 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-25 15:40:47 -0400 |
commit | 55a88bcb1e84adb230ee48513dd57bf918c5dfe7 (patch) | |
tree | 51cb2bc786d6866cc2343cec0826a76c6c2284b1 | |
parent | b41ebe3e816b111ffff5dcece0a12117e9f3a205 (diff) | |
download | rneovim-55a88bcb1e84adb230ee48513dd57bf918c5dfe7.tar.gz rneovim-55a88bcb1e84adb230ee48513dd57bf918c5dfe7.tar.bz2 rneovim-55a88bcb1e84adb230ee48513dd57bf918c5dfe7.zip |
vim-patch:8.1.0546: modeline test with keymap fails
Problem: Modeline test with keymap fails.
Solution: Check that the keymap feature is available.
https://github.com/vim/vim/commit/4ace6ab7e72151d78f1563b23b498ed20fa00211
-rw-r--r-- | src/nvim/testdir/test_modeline.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_modeline.vim b/src/nvim/testdir/test_modeline.vim index 4b3fc2021d..c0427e64ab 100644 --- a/src/nvim/testdir/test_modeline.vim +++ b/src/nvim/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 |