Skip to content

Commit

Permalink
Revert "Make comment_toggle accept count (#13)" (#19)
Browse files Browse the repository at this point in the history
This reverts commit 757969b.
  • Loading branch information
terrortylor authored Jun 2, 2021
1 parent 22f81f9 commit ca013cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/nvim_comment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ function M.operator(mode)
end

function M.comment_toggle(line_start, line_end)
line_end = vim.v.count ~= 0 and line_end + vim.v.count - 1 or line_end
local left, right = M.get_comment_wrapper()
if not left or not right then return end

Expand Down

0 comments on commit ca013cf

Please sign in to comment.