Skip to content

Commit c147e0c

Browse files
authored
Merge pull request #1530 from ychin/vim-tests-dont-use-guioptions-k
ci: Don't use guioptions-k in Vim tests, clean up defaults for gui tests
2 parents 8d524fd + 041fc93 commit c147e0c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci-macvim.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ jobs:
380380
- name: Test Vim (GUI)
381381
timeout-minutes: 25
382382
run: |
383+
defaults delete org.vim.MacVim # Clean up stale states left from MacVim tests
383384
make ${MAKE_BUILD_ARGS} -C src/testdir clean
384385
make ${MAKE_BUILD_ARGS} -C src testgui
385386

src/testdir/runtest.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ if has('gui_running')
5858
if has('gui_gtk')
5959
" to keep screendump size unchanged
6060
set guifont=Monospace\ 10
61+
elseif has('gui_macvim')
62+
" keep defaults consistent with other GUIs
63+
set guioptions-=k
6164
endif
6265
set columns=80 lines=25
6366
endif

0 commit comments

Comments
 (0)