diff --git a/.config/kak/kakrc b/.config/kak/kakrc index 956f29f2..5ea7504a 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -31,6 +31,11 @@ set-option global indentwidth 4 set-option global scrolloff 3,3 +# define-command -override tree-sitter-use-after-highlighter %{ +# add-highlighter -override buffer/ +# } +add-highlighter global/bracket regex [\[\]\(\)\{\}]{1} 0:red +# add-highlighter global/bracket regex [\[\]\(\)\{\}]{1} 0:rgb:737373 add-highlighter global/ number-lines -hlcursor -relative -separator " " add-highlighter global/ show-whitespaces -lf "" -tab "" -only-trailing add-highlighter global/ show-matching @@ -59,7 +64,7 @@ map -docstring "commenct line" global normal ":comment-line" declare-user-mode git map -docstring "git" global user g ": enter-user-mode git" -map -docstring "lazygit" global git g ": terminal lazygit" +map -docstring "lazygit" global git g ": terminal lazygit" def git_blame %{ info %sh{ git -C $(dirname $(realpath $kak_buffile)) blame -L $kak_cursor_line,$kak_cursor_line $(realpath $kak_buffile)