Skip to content

Instantly share code, notes, and snippets.

dumblob

Block or report user

Report or block dumblob

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dumblob
dumblob / git-tools.kak
Created Mar 25, 2014
git-tools.kak - POSIX compliant rewrite [NOT tested!]
View git-tools.kak
decl str docsclient
hook global WinSetOption filetype=git-log %{
addhl group git-log-highlight
addhl -group git-log-highlight regex '^(commit) ([0-9a-f]+)$' 1:yellow 2:red
addhl -group git-log-highlight regex '^([a-zA-Z_-]+:) (.*?)$' 1:green 2:magenta
}
hook global WinSetOption filetype=(?!git-log).* %{
rmhl git-log-highlight
You can’t perform that action at this time.