From dc9b455c790417ed0eadf0a4358480244f1cfb72 Mon Sep 17 00:00:00 2001 From: Georgi Kirilov <> Date: Sun, 22 Nov 2020 15:10:49 +0200 Subject: Export range functions directly Useful for getting the range without changing the editing mode. --- pairs.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pairs.lua b/pairs.lua index 6178eba..158f783 100644 --- a/pairs.lua +++ b/pairs.lua @@ -356,6 +356,8 @@ end) M = { map = {}, get_pair = get_delimiters, + get_range_inner = inner, + get_range_outer = outer, prefix = {outer = "a", inner = "i", opening = "[", closing = "]"}, } -- cgit