Give up on autostart with "headless" handler
This commit is contained in:
parent
b0f9fad9ec
commit
6130d01b33
@ -1465,6 +1465,9 @@ function! s:leiningen_connect(auto) abort
|
|||||||
try
|
try
|
||||||
execute cd fnameescape(b:leiningen_root)
|
execute cd fnameescape(b:leiningen_root)
|
||||||
Start! -title=lein\ repl lein repl
|
Start! -title=lein\ repl lein repl
|
||||||
|
if get(get(g:, 'dispatch_last_start', {}), 'handler', 'headless') ==# 'headless'
|
||||||
|
return
|
||||||
|
endif
|
||||||
finally
|
finally
|
||||||
execute cd fnameescape(cwd)
|
execute cd fnameescape(cwd)
|
||||||
endtry
|
endtry
|
||||||
|
Loading…
Reference in New Issue
Block a user