After defining two sp-pairs with the same :wrap and trigger but different parens-pairs and disjunct :when condititions, the :wrap keybinding inserts that pair whose :when condition returns t.
Actual behavior
The :wrap keybinding always inserts that parens-pair which was defined last.
Expected behavior
After defining two sp-pairs with the same
:wrap
andtrigger
but different parens-pairs and disjunct:when
condititions, the:wrap
keybinding inserts that pair whose:when
condition returnst
.Actual behavior
The
:wrap
keybinding always inserts that parens-pair which was defined last.Steps to reproduce the problem
To your config, add
C-S-k
.C-S-k
.This problem is OS- and version-indepdendent.