AutoYADM commit: 2025-06-26 14:29:23

This commit is contained in:
Daniel Fichtinger 2025-06-26 14:29:23 -04:00
parent 75e9c827a7
commit 2dd6e745af
2 changed files with 21 additions and 8 deletions

View file

@ -124,7 +124,7 @@ set-option -add global ui_options terminal_assistant=none
set-option global tabstop 4
set-option global indentwidth 4
hook global WinSetOption filetype=kak %{
hook -once global WinSetOption filetype=kak %{
declare-option str-list extra_kak_keywords addhl decl def compl eval exec rmhl rmhooks face set unset
eval %sh{
@ -133,6 +133,9 @@ hook global WinSetOption filetype=kak %{
printf '%s' "add-highlighter shared/kakrc/code/extra_keywords regex (?:\s|\A)\K($(join "${kak_opt_extra_kak_keywords}" '|'))(?:(?=\s)|\z) 0:keyword"
fi
}
}
hook global WinSetOption filetype=kak %{
# make brackets gray a-la Ashen
add-highlighter window/bracket regex [\[\]\(\)\{\}]{1} 0:rgb:737373