home/test/regression/3349-crash-in-completion/rc
Maxime Coste 7545fa58ae Fix invalid access to deleted line when updating insert completion
The computation of the completion end position was taking place too
early, before we checked if the buffer did get modified.

Fixes #3349
2020-03-14 13:49:52 +11:00

5 lines
203 B
Plaintext

set-option global autocomplete insert
declare-option -hidden completions my_completions
set-option global completers option=my_completions
set-option global my_completions "2.1+1@%val(timestamp)" "a||a"