diff --git a/rc/base/d.kak b/rc/base/d.kak index e866865f..f0f08248 100644 --- a/rc/base/d.kak +++ b/rc/base/d.kak @@ -14,15 +14,15 @@ hook global BufCreate .*\.di? %{ add-highlighter shared/d regions add-highlighter shared/d/code default-region group add-highlighter shared/d/string region %{(?]: git wrapping helper All the optional arguments are forwarded to the git utility @@ -62,7 +59,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 flag-lines Information git_blame_flags } set-option buffer=$kak_bufname git_blame_flags '$kak_timestamp' }" | kak -p ${kak_session} git blame "$@" --incremental ${kak_buffile} | awk ' @@ -184,7 +181,7 @@ Available commands:\n add\n rm\n blame\n commit\n checkout\n diff\n hide- }" ;; show-diff) - echo 'try %{ add-highlighter window/git-diff flag-lines GitDiffFlags git_diff_flags }' + echo 'try %{ add-highlighter window/git-diff flag-lines Default git_diff_flags }' update_diff ;; hide-diff) diff --git a/rc/extra/latex.kak b/rc/extra/latex.kak index e93b2a73..acb5c1fc 100644 --- a/rc/extra/latex.kak +++ b/rc/extra/latex.kak @@ -20,7 +20,7 @@ add-highlighter shared/latex/content/ regex '\\(?!_)\w+\b' 0:keyword # Options passed to scopes, between brackets add-highlighter shared/latex/content/ regex '\\(?!_)\w+\b\[([^\]]+)\]' 1:value # Content between dollar signs/pairs -add-highlighter shared/latex/content/ regex '(\$(\\\$|[^$])+\$)|(\$\$(\\\$|[^$])+\$\$)' 0:magenta +add-highlighter shared/latex/content/ regex '(\$(\\\$|[^$])+\$)|(\$\$(\\\$|[^$])+\$\$)' 0:meta # Emphasized text add-highlighter shared/latex/content/ regex '\\(emph|textit)\{([^}]+)\}' 2:default+i # Bold text