File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ Kick off quick tasks with `:Make`. What happens next depends on which adapter
3939takes charge.
4040
4141* If you're in tmux, a small split will be opened at the bottom.
42- * If you have iTerm running, a new tab is opened.
4342* On Windows, a minimized cmd.exe window is spawned.
4443* Otherwise, you get a plain old ` :make ` invocation.
4544
@@ -52,7 +51,6 @@ stolen.
5251Use ` :Make! ` for longer running tasks, like "run the entire test suite".
5352
5453* If you're in tmux or GNU screen, a new window is created in the background.
55- * If you have iTerm running, a new tab is opened but not selected.
5654* Windows still spawns a minimized cmd.exe window.
5755* Otherwise, you get a headless invocation. You can't see it, but it's
5856 running in the background.
Original file line number Diff line number Diff line change @@ -9,13 +9,7 @@ function! dispatch#iterm#handle(request) abort
99 if $TERM_PROGRAM !=# ' iTerm.app' && ! ((has (' gui_macvim' ) || has (' gui_vimr' )) && has (' gui_running' ))
1010 return 0
1111 endif
12- if a: request .action == # ' make'
13- if ! get (a: request , ' background' , 0 ) && ! dispatch#has_callback ()
14- return 0
15- endif
16- let exec = dispatch#prepare_make (a: request )
17- return dispatch#iterm#spawn (exec , a: request , 0 )
18- elseif a: request .action == # ' start'
12+ if a: request .action == # ' start'
1913 return dispatch#iterm#spawn (dispatch#prepare_start (a: request ), a: request , ! a: request .background )
2014 endif
2115endfunction
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ stealing.
205205iTerm ~
206206
207207This strategy fires if you're in MacVim with at least one iTerm window open,
208- or if Vim is running in iTerm itself.
208+ or if Vim is running in iTerm itself. Used only for | :Start | .
209209
210210X11 ~
211211
You can’t perform that action at this time.
0 commit comments