mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
test(old): clear builtin menus before running tests (#19647)
Otherwise Test_menu_expand() fails when run alone.
This commit is contained in:
@@ -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'
|
||||||
|
Reference in New Issue
Block a user