mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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
|
endif
|
||||||
let s:did_load = 1
|
let s:did_load = 1
|
||||||
|
|
||||||
" Clear Nvim default mappings.
|
" Clear Nvim default mappings and menus.
|
||||||
mapclear
|
mapclear
|
||||||
mapclear!
|
mapclear!
|
||||||
|
aunmenu *
|
||||||
|
tlunmenu *
|
||||||
|
|
||||||
" Prevent Nvim log from writing to stderr.
|
" Prevent Nvim log from writing to stderr.
|
||||||
let $NVIM_LOG_FILE = exists($NVIM_LOG_FILE) ? $NVIM_LOG_FILE : 'Xnvim.log'
|
let $NVIM_LOG_FILE = exists($NVIM_LOG_FILE) ? $NVIM_LOG_FILE : 'Xnvim.log'
|
||||||
|
Loading…
Reference in New Issue
Block a user