Recognize colorscheme command in kakrc files and in README
This commit is contained in:
parent
466410529a
commit
742fdc1f7d
|
@ -486,6 +486,7 @@ Basic Commands
|
||||||
* `source <filename>`: execute commands in <filename>
|
* `source <filename>`: execute commands in <filename>
|
||||||
* `runtime <filename>`: execute commands in <filename>, <filename>
|
* `runtime <filename>`: execute commands in <filename>, <filename>
|
||||||
is relative to kak executable path.
|
is relative to kak executable path.
|
||||||
|
* `colorscheme <name>`: load named colorscheme.
|
||||||
* `nameclient <name>`: set current client name
|
* `nameclient <name>`: set current client name
|
||||||
* `namebuf <name>`: set current buffer name
|
* `namebuf <name>`: set current buffer name
|
||||||
* `echo <text>`: show <text> in status line
|
* `echo <text>`: show <text> in status line
|
||||||
|
|
|
@ -8,7 +8,7 @@ addhl -group / regions -default code kakrc \
|
||||||
single_string %{(^|\h)'} %{(?<!\\)(\\\\)*'} '' \
|
single_string %{(^|\h)'} %{(?<!\\)(\\\\)*'} '' \
|
||||||
shell '%sh\{' '\}' '\{'
|
shell '%sh\{' '\}' '\{'
|
||||||
|
|
||||||
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)\> 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 \<(default|black|red|green|yellow|blue|magenta|cyan|white|(?:rgb:[0-9a-fA-F]{6}))\> 0:value
|
||||||
addhl -group /kakrc/code regex (?:\<hook)\h+(?:(global|buffer|window)|(\S+))\h+(\S+)\h+(\S+)? 1:attribute 2:error 3:identifier 4:string
|
addhl -group /kakrc/code regex (?:\<hook)\h+(?:(global|buffer|window)|(\S+))\h+(\S+)\h+(\S+)? 1:attribute 2:error 3:identifier 4:string
|
||||||
addhl -group /kakrc/code regex (?:\<set)\h+(?:(global|buffer|window)|(\S+))\h+(\S+)\h+(\S+)? 1:attribute 2:error 3:identifier 4:string
|
addhl -group /kakrc/code regex (?:\<set)\h+(?:(global|buffer|window)|(\S+))\h+(\S+)\h+(\S+)? 1:attribute 2:error 3:identifier 4:string
|
||||||
|
|
Loading…
Reference in New Issue
Block a user