From 5e886cbebe9288a68c66e8037327106766aa7528 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Sat, 10 Jun 2017 16:51:59 -0400 Subject: [PATCH] Support build and run scripts with any extension --- vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index ad7f4ac..a5807b3 100644 --- a/vimrc +++ b/vimrc @@ -257,7 +257,7 @@ function! ToggleAsyncRunWindow() endfunction function! ExecuteRunScript() - exec "AsyncRun! -post=call\\ ToggleAsyncRunWindow() ./run.sh" + exec "AsyncRun! -post=call\\ ToggleAsyncRunWindow() ./run" endfunction " Show results window the moment the async job starts @@ -269,8 +269,8 @@ noremap :call ToggleAsyncRunWindow() nnoremap bb :call ToggleAsyncRunWindow() " Execute build script -nnoremap b :AsyncRun! -save=2 ./build.sh -nnoremap :AsyncRun! -save=2 ./build.sh +nnoremap b :AsyncRun! -save=2 ./build* +nnoremap :AsyncRun! -save=2 ./build* " Execute run script nnoremap br :call ExecuteRunScript()