From 6740e3cc0cff6164553acfa17d0aff6bf679f2cf Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 21 Oct 2017 18:48:35 +0800 Subject: [PATCH] Add some more keywords to kakrc highlighting --- rc/core/kakrc.kak | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rc/core/kakrc.kak b/rc/core/kakrc.kak index 17608125..46c59e6d 100644 --- a/rc/core/kakrc.kak +++ b/rc/core/kakrc.kak @@ -26,9 +26,11 @@ add-highlighter -group / regions -default code kakrc \ %sh{ # Grammar - keywords="hook|remove-hooks|rmhooks|add-highlighter|addhl|remove-highlighter|rmhl|exec|eval|source|runtime|define-command|def|alias" - keywords="${keywords}|unalias|declare-option|decl|echo|edit|set-option|set|unset-option|unset|map|unmap|set-face|face|prompt|menu|info" - keywords="${keywords}|try|catch|rename-client|rename-buffer|rename-session|change-directory|colorscheme" + keywords="edit|write|write-all|kill|quit|write-quit|write-all-quit|map|unmap|alias|unalias" + keywords="${keywords}|buffer|buffer-next|buffer-previous|delete-buffer|add-highlighter|remove-highlighter" + keywords="${keywords}|hook|remove-hooks|define-command|echo|debug|source|try|fail" + keywords="${keywords}|set-option|unset-option|update-option|declare-option|exec|eval|prompt|menu|on-key|info" + keywords="${keywords}|set-face|rename-client|set-register|select|change-directory|rename-session|colorscheme" attributes="global|buffer|window|current" attributes="${attributes}|normal|insert|menu|prompt|goto|view|user|object" attributes="${attributes}|number_lines|show_matching|show_whitespaces|fill|regex|dynregex|group|flag_lines|ranges|line|column|wrap|ref|regions|replace-ranges"