diff --git a/rc/base/mercurial.kak b/rc/base/mercurial.kak index fabc6d94..3480428a 100644 --- a/rc/base/mercurial.kak +++ b/rc/base/mercurial.kak @@ -21,6 +21,6 @@ hook -group hg-commit-highlight global WinSetOption filetype=(?!hg-commit).* %{ # ‾‾‾‾‾‾‾‾‾‾‾‾ hook -group hg-commit-highlight global WinSetOption filetype=hg-commit %{ - add-highlighter window group hg-commit-highlight + add-highlighter window/ group hg-commit-highlight add-highlighter window/hg-commit-highlight regex '^HG:[^\n]*' 0:MercurialCommitComment } diff --git a/rc/base/spell.kak b/rc/base/spell.kak index 2fe0ddaa..0ef189e2 100644 --- a/rc/base/spell.kak +++ b/rc/base/spell.kak @@ -9,7 +9,7 @@ Formats of language supported: - ISO language code, e.g. 'en' - language code above followed by a dash or underscore with an ISO country code, e.g. 'en-US'} \ spell %{ - try %{ add-highlighter window ranges 'spell_regions' } + try %{ add-highlighter window/ ranges 'spell_regions' } evaluate-commands %sh{ file=$(mktemp -d "${TMPDIR:-/tmp}"/kak-spell.XXXXXXXX)/buffer printf 'eval -no-hooks write -sync %s\n' "${file}" @@ -64,7 +64,7 @@ define-command spell-next %{ evaluate-commands %sh{ start_first="${kak_opt_spell_regions#* }" start_first="${start_first%%|*}" - start_first="${start_first#'}" + start_first="${start_first#\'}" find_next_word_desc() { ## XXX: the `spell` command adds sorted selection descriptions to the range