mirror of
https://github.com/mawww/kakoune.git
synced 2024-09-20 01:08:33 +03:00
rc spell: Simplify selection-descriptions parsing
Remove everything after the first pipe sign. Pop the timestamp.
This commit is contained in:
parent
7db9062122
commit
e9e15e6a44
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user