clear git blame flags option when hiding git blame

This commit is contained in:
Maxime Coste 2015-05-10 17:20:42 +01:00
parent e21d9feb05
commit 4a843ec8d4

View File

@ -143,7 +143,12 @@ def -shell-params \
case "$1" in case "$1" in
show|log|diff|status) show_git_cmd_output "$@" ;; show|log|diff|status) show_git_cmd_output "$@" ;;
blame) shift; run_git_blame "$@" ;; blame) shift; run_git_blame "$@" ;;
hide-blame) echo "try %{ rmhl hlflags_git_blame_flags }" ;; hide-blame)
echo "try %{
set buffer=$kak_bufname git_blame_flags ''
rmhl hlflags_git_blame_flags
}"
;;
show-diff) show-diff)
echo "try %{ addhl flag_lines black git_diff_flags }" echo "try %{ addhl flag_lines black git_diff_flags }"
update_diff update_diff