Skip to content

Commit

Permalink
chore: remove leftover code
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed May 17, 2024
1 parent 7681908 commit 7284974
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/spider/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,11 @@ function M.motion(key, motionOpts)
end

local row, col = unpack(vim.api.nvim_win_get_cursor(0))
local startRow = row
local lastRow = vim.api.nvim_buf_line_count(0)
local forwards = key == "w" or key == "e"

local line = getline(row)
local offset, startOffset = stringFuncs.init_pos(line, col)
local offset, _ = stringFuncs.init_pos(line, col)

-- looping through counts
for _ = 1, vim.v.count1, 1 do
Expand Down

0 comments on commit 7284974

Please sign in to comment.