Fix make terminal not exiting when done (or at least on escape?)

This commit is contained in:
Daniel Flanagan 2018-10-03 08:24:11 -05:00
parent 37083cf9ff
commit da16fd637c

View file

@ -59,6 +59,7 @@ fun! RunMake()
let path = system("git rev-parse --show-toplevel | tr -d '\\n'")
" TODO: handle non-git situations
execute 'terminal cd ' . path . ' && make ' . g:make_args
startinsert
else
execute '!make ' . g:make_args
endif