From a2825d04222d8b956c8aa8ba9f7057a4e8b67baa Mon Sep 17 00:00:00 2001 From: Stefan Liebl Date: Thu, 8 Jun 2017 11:56:26 +0200 Subject: [PATCH] adapt to asyncrun --- vimfiles.stefan/plugin/toptica.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vimfiles.stefan/plugin/toptica.vim b/vimfiles.stefan/plugin/toptica.vim index 9e3e8ee..2604a1e 100644 --- a/vimfiles.stefan/plugin/toptica.vim +++ b/vimfiles.stefan/plugin/toptica.vim @@ -114,9 +114,8 @@ function GetAllMakeCompletions(ArgLead, CmdLine, CursorPos) endfunction function s:Make(args, async_mode) - wa call asyncrun#quickfix_toggle(10, 1) - execute 'AsyncRun -mode='.a:async_mode.' -save=1 -program=make @ --directory='.g:ProjectBuildDir.' '.a:args + execute 'AsyncRun -mode='.a:async_mode.' -save=2 -program=make @ --directory='.g:ProjectBuildDir.' '.a:args endfunction function s:MakeTestBuild() @@ -143,7 +142,7 @@ function s:Cmake(build_type, async_mode) let args .= " -DCMAKE_BUILD_TYPE=".a:build_type let args .= " -DCMAKE_EXPORT_COMPILE_COMMANDS=1" " let args .= " -DLICENSE_TOOL=1" - execute 'AsyncRun -mode='.a:async_mode.' -save=1 -cwd='.g:ProjectBuildDir.' @ cmake '.args + execute 'AsyncRun -mode='.a:async_mode.' -save=2 -cwd='.g:ProjectBuildDir.' @ cmake '.args endfunction function s:CopyFirmware(command)