make: use a makecmd option
This commit is contained in:
parent
f3640a2d03
commit
9efc32596b
|
@ -1,7 +1,9 @@
|
|||
setg makecmd make
|
||||
|
||||
def -shell-params make %{ %sh{
|
||||
output=$(mktemp -d -t kak-make.XXXXXXXX)/fifo
|
||||
mkfifo ${output}
|
||||
( make $@ >& ${output} ) >& /dev/null < /dev/null &
|
||||
( ${kak_opt_makecmd} $@ >& ${output} ) >& /dev/null < /dev/null &
|
||||
echo "try %{ db *make* } catch %{}
|
||||
edit -fifo ${output} *make*
|
||||
setb filetype make
|
||||
|
|
Loading…
Reference in New Issue
Block a user