@@ -21,10 +21,10 @@ local surrounds = {
|
||||
['`'] = { left = '`', right = '`' },
|
||||
}
|
||||
|
||||
--- @type { left: string; right: string } | nil
|
||||
--- @type { left: string, right: string } | nil
|
||||
local CACHED_BOUNDS = nil
|
||||
|
||||
--- @return { left: string; right: string }|nil
|
||||
--- @return { left: string, right: string }|nil
|
||||
local function prompt_for_bounds()
|
||||
if vim_repeat.is_repeating() then
|
||||
-- If we are repeating, we don't want to prompt for bounds, because
|
||||
@@ -55,7 +55,7 @@ local function prompt_for_bounds()
|
||||
end
|
||||
|
||||
--- @param range u.Range
|
||||
--- @param bounds { left: string; right: string }
|
||||
--- @param bounds { left: string, right: string }
|
||||
local function do_surround(range, bounds)
|
||||
local left = bounds.left
|
||||
local right = bounds.right
|
||||
|
||||
Reference in New Issue
Block a user