noctuid / lispyville

lispy + evil = lispyville
GNU General Public License v3.0
315 stars 23 forks source link

Fix selection of multi-line text objects #301

Closed danskarda closed 2 years ago

danskarda commented 2 years ago

Recent changes in evil-mode broke selection of text object which can span multiple lines. For example selection of function definitions or lists .

evil-select-inner-object was "optimized" to restrict selection to current line. There is a new function evil-select-inner-unrestricted-object which provides original functionality.

This patch fixes selection in lispyville multi-line text objects by replacing evil-select-inner-object with new unrestricted variant.

noctuid commented 2 years ago

Great, breaking changes to non-internal functions. :cry:

Thanks for the fix.