Fix make terminal not exiting when done (or at least on escape?)
This commit is contained in:
parent
37083cf9ff
commit
da16fd637c
|
@ -59,6 +59,7 @@ fun! RunMake()
|
||||||
let path = system("git rev-parse --show-toplevel | tr -d '\\n'")
|
let path = system("git rev-parse --show-toplevel | tr -d '\\n'")
|
||||||
" TODO: handle non-git situations
|
" TODO: handle non-git situations
|
||||||
execute 'terminal cd ' . path . ' && make ' . g:make_args
|
execute 'terminal cd ' . path . ' && make ' . g:make_args
|
||||||
|
startinsert
|
||||||
else
|
else
|
||||||
execute '!make ' . g:make_args
|
execute '!make ' . g:make_args
|
||||||
endif
|
endif
|
||||||
|
|
Reference in a new issue