Skip to content

Commit

Permalink
chore: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarriga committed Nov 13, 2022
1 parent 6bcd743 commit 12e83b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/neotest/consumers/summary/canvas.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ function Canvas:render_buffer(buffer)
noremap = true,
nowait = true,
callback = function()
local linenos = {vim.fn.getpos("v")[2], vim.fn.getpos(".")[2]}
local linenos = { vim.fn.getpos("v")[2], vim.fn.getpos(".")[2] }
table.sort(linenos)
for lineno = linenos[1],linenos[2] do
for lineno = linenos[1], linenos[2] do
for _, callback in pairs(mappings[lineno] or {}) do
callback()
end
Expand Down

0 comments on commit 12e83b3

Please sign in to comment.