Skip to content

Commit

Permalink
Move count1
Browse files Browse the repository at this point in the history
Co-authored-by: monaqa <48883418+monaqa@users.noreply.github.com>
  • Loading branch information
leiserfg and monaqa committed Mar 26, 2023
1 parent 4aa2a40 commit e77dfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dial/map.lua
Expand Up @@ -25,7 +25,7 @@ local function _cmd_sequence(direction, mode, group_name)
-- command.select_augend_normal(vim.v.count, group_name)
local setopfunc = cmdcr([[let &opfunc="dial#operator#]] .. direction .. "_" .. mode .. [["]])
local textobj = util.if_expr(mode == "normal", cmdcr [[lua require("dial.command").textobj()]], "")
return vim.v.count1..select .. setopfunc .. "g@" .. textobj
return select .. setopfunc .. vim.v.count1 .. "g@" .. textobj
end

---@param v string | nil | fun(): string | nil
Expand Down

0 comments on commit e77dfb2

Please sign in to comment.