mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
vim-patch:8.1.0546: modeline test with keymap fails
Problem: Modeline test with keymap fails.
Solution: Check that the keymap feature is available.
4ace6ab7e7
This commit is contained in:
parent
5cca6f61bb
commit
9ab48aac20
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user