diff --git a/rc/tools/spell.kak b/rc/tools/spell.kak index 1a5698be..dde7a6dc 100644 --- a/rc/tools/spell.kak +++ b/rc/tools/spell.kak @@ -93,9 +93,8 @@ define-command spell-next %{ evaluate-commands %sh{ anchor_col="${kak_selection_desc%%,*}" anchor_col="${anchor_col##*.}" - start_first="${kak_opt_spell_regions#* }" - start_first="${start_first%%|*}" - start_first="${start_first#\'}" + start_first="${kak_opt_spell_regions%%|*}" + start_first="${start_first#* }" find_next_word_desc() { ## XXX: the `spell` command adds sorted selection descriptions to the range