diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-25 15:41:19 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-25 15:41:25 -0400 |
commit | f2f625c984394d8bca598dc32370e2ec7b33a27b (patch) | |
tree | d6080b3a539a5371d0be6ee8da78453996604b1d /src | |
parent | 55a88bcb1e84adb230ee48513dd57bf918c5dfe7 (diff) | |
download | rneovim-f2f625c984394d8bca598dc32370e2ec7b33a27b.tar.gz rneovim-f2f625c984394d8bca598dc32370e2ec7b33a27b.tar.bz2 rneovim-f2f625c984394d8bca598dc32370e2ec7b33a27b.zip |
vim-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.
https://github.com/vim/vim/commit/3067a4dd0d768d1e4a47cf3c100f3e2b462717d7
Diffstat (limited to 'src')
-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 c0427e64ab..091a833774 100644 --- a/src/nvim/testdir/test_modeline.vim +++ b/src/nvim/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 |