mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
test(old): clear builtin menus before running tests (#19647)
Otherwise Test_menu_expand() fails when run alone.
This commit is contained in:
parent
21f5aee777
commit
58e1c6fbff
@ -39,9 +39,11 @@ if exists('s:did_load')
|
||||
endif
|
||||
let s:did_load = 1
|
||||
|
||||
" Clear Nvim default mappings.
|
||||
" Clear Nvim default mappings and menus.
|
||||
mapclear
|
||||
mapclear!
|
||||
aunmenu *
|
||||
tlunmenu *
|
||||
|
||||
" Prevent Nvim log from writing to stderr.
|
||||
let $NVIM_LOG_FILE = exists($NVIM_LOG_FILE) ? $NVIM_LOG_FILE : 'Xnvim.log'
|
||||
|
Loading…
Reference in New Issue
Block a user