diff --git a/README.asciidoc b/README.asciidoc index f76330b4..687819f6 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -486,6 +486,7 @@ Basic Commands * `source `: execute commands in * `runtime `: execute commands in , is relative to kak executable path. + * `colorscheme `: load named colorscheme. * `nameclient `: set current client name * `namebuf `: set current buffer name * `echo `: show in status line diff --git a/rc/kakrc.kak b/rc/kakrc.kak index fe6a6df8..0d423cec 100644 --- a/rc/kakrc.kak +++ b/rc/kakrc.kak @@ -8,7 +8,7 @@ addhl -group / regions -default code kakrc \ single_string %{(^|\h)'} %{(? 0:keyword +addhl -group /kakrc/code regex \<(hook|rmhooks|addhl|rmhl|exec|eval|source|runtime|def|alias|unalias|decl|echo|edit|set|map|face|prompt|menu|info|try|catch|nameclient|namebuf|cd|colorscheme)\> 0:keyword addhl -group /kakrc/code regex \<(default|black|red|green|yellow|blue|magenta|cyan|white|(?:rgb:[0-9a-fA-F]{6}))\> 0:value addhl -group /kakrc/code regex (?:\