mirror of
https://github.com/mawww/kakoune.git
synced 2024-10-10 19:57:25 +03:00
Fix corner case in passin arguments to grep and make
This commit is contained in:
parent
374a7a8c99
commit
cbdd200e73
@ -28,7 +28,7 @@ define-command -params .. -docstring %{
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
$kak_opt_grepcmd "$@" 2>&1 | tr -d '\r'
|
$kak_opt_grepcmd "$@" 2>&1 | tr -d '\r'
|
||||||
} %arg{@}
|
} -- %arg{@}
|
||||||
set-option buffer filetype grep
|
set-option buffer filetype grep
|
||||||
set-option buffer jump_current_line 0
|
set-option buffer jump_current_line 0
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ define-command -params .. -docstring %{
|
|||||||
fifo -scroll -name *make* -script %{
|
fifo -scroll -name *make* -script %{
|
||||||
trap - INT QUIT
|
trap - INT QUIT
|
||||||
$kak_opt_makecmd "$@"
|
$kak_opt_makecmd "$@"
|
||||||
} %arg{@} # pass arguments for "$@" above, exit to avoid evaluating them
|
} -- %arg{@}
|
||||||
set-option buffer filetype make
|
set-option buffer filetype make
|
||||||
set-option buffer jump_current_line 0
|
set-option buffer jump_current_line 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user