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
|
||||
execute cd fnameescape(b:leiningen_root)
|
||||
Start! -title=lein\ repl lein repl
|
||||
if get(get(g:, 'dispatch_last_start', {}), 'handler', 'headless') ==# 'headless'
|
||||
return
|
||||
endif
|
||||
finally
|
||||
execute cd fnameescape(cwd)
|
||||
endtry
|
||||
|
Loading…
Reference in New Issue
Block a user