mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
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.
3067a4dd0d
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user