Skip to content

Commit 177c72b

Browse files
zcheejustinmk
authored andcommitted
test: start Nvim with '--headless' #41
Since Nvim 0.3.2 the meaning of --headless was changed to more-strictly imply "no UI", and the --embed was changed to wait until UI attach before continuing startup. - :help --headless - :help --embed - https://github.com/neovim/neovim/wiki/Following-HEAD#20180922 - neovim/neovim#9024
1 parent 9ff6dbd commit 177c72b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvim/nvim_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626

2727
func newChildProcess(t *testing.T) (*Nvim, func()) {
2828
v, err := NewChildProcess(
29-
ChildProcessArgs("-u", "NONE", "-n", "--embed"),
29+
ChildProcessArgs("-u", "NONE", "-n", "--embed", "--headless"),
3030
ChildProcessEnv([]string{}),
3131
ChildProcessLogf(t.Logf))
3232
if err != nil {

0 commit comments

Comments
 (0)