let &t_te.="\e[0 q"
" make
-function! s:Msvc(path)
+function! s:Msvc(build)
let &errorformat="%f(%l) : %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f(%l) : %m,%*[^ ] %f %l: %m,%f:%l:%c:%m,%f(%l):%m,%f|%l| %m"
- let &makeprg='cd ' . a:path . '; cmake '
- let b:asyncrun_root = '~/projects/applayer'
- exe 'AsyncRun -cwd=<root> mkdir -p ' . fnameescape(a:path)
+ let &makeprg='cd ' . a:build. '; cmake '
+ exe 'AsyncRun mkdir -p ' . fnameescape(a:build)
endfunction
command! -bang -nargs=1 -complete=file Msvc call s:Msvc(<f-args>)
let g:asyncrun_open = 8
let g:asyncrun_status = "stopped"
let g:asyncrun_auto = "make"
-let g:asyncrun_rootmarks = ['.git']
-command! -bang -nargs=* -complete=file Make AsyncRun -cwd=<root> -program=make @ <args>
-command! -bang -nargs=* -complete=file Grep AsyncRun -cwd=<root> -program=grep @ <args>
+command! -bang -nargs=* -complete=file Make AsyncRun -program=make @ <args>
+command! -bang -nargs=* -complete=file Grep AsyncRun -program=grep @ <args>
+
" Error markers
packadd errormarker.vim