Fix highlighters in git-tools

This commit is contained in:
Maxim Baz 2018-07-06 12:33:53 +02:00
parent b06ad06507
commit fcec136f1e
No known key found for this signature in database
GPG Key ID: 011FDC52DA839335

View File

@ -63,7 +63,7 @@ Available commands:\n add\n rm\n blame\n commit\n checkout\n diff\n hide-
run_git_blame() {
(
printf %s "evaluate-commands -client '$kak_client' %{
try %{ add-highlighter window/git-blame flag_lines GitBlame git_blame_flags }
try %{ add-highlighter window/git-blame-highlight flag_lines GitBlame git_blame_flags }
set-option buffer=$kak_bufname git_blame_flags '$kak_timestamp'
}" | kak -p ${kak_session}
git blame "$@" --incremental ${kak_buffile} | awk '
@ -185,7 +185,7 @@ Available commands:\n add\n rm\n blame\n commit\n checkout\n diff\n hide-
}"
;;
show-diff)
echo 'try %{ add-highlighter window flag_lines GitDiffFlags git_diff_flags }'
echo 'try %{ add-highlighter window/git-diff-highlight flag_lines GitDiffFlags git_diff_flags }'
update_diff
;;
update-diff) update_diff ;;