Add face 'GitDiffFlags' for git diff flag_lines
No defaults have been altered, just added the ability to do user override. The existing facespec had a background of 'black', which ends up looking a little harsh for people who do black text on a white background.
This commit is contained in:
parent
37fd41c688
commit
6deaed01de
|
@ -20,6 +20,7 @@ decl line-flags git_blame_flags
|
|||
decl line-flags git_diff_flags
|
||||
|
||||
face GitBlame default,magenta
|
||||
face GitDiffFlags default,black
|
||||
|
||||
def -params 1.. \
|
||||
-docstring %sh{printf '%%{git [<arguments>]: git wrapping helper
|
||||
|
@ -145,7 +146,7 @@ Available commands:\n-add\n-rm\n-blame\n-commit\n-checkout\n-diff\n-hide-blame\n
|
|||
}"
|
||||
;;
|
||||
show-diff)
|
||||
echo 'try %{ addhl flag_lines default,black git_diff_flags }'
|
||||
echo 'try %{ addhl flag_lines GitDiffFlags git_diff_flags }'
|
||||
update_diff
|
||||
;;
|
||||
update-diff) update_diff ;;
|
||||
|
|
Loading…
Reference in New Issue
Block a user