Skip to content

Commit

Permalink
addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
funemy committed Jan 9, 2025
1 parent 21f085d commit e890efe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lua/lean/infoview.lua
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,6 @@ function Info:new(opts)

new_info.__pins_element.events = {
goto_last_window = function()
print(vim.inspect(new_info))
if not new_info.last_window then
return
end
Expand Down
2 changes: 1 addition & 1 deletion spec/infoview/jump_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('infoview jumping', function()
-- Both Lean and infoview windows exist
assert.windows.are(lean_window, current_infoview.window)

vim.cmd 'LeanGotoInfoview'
vim.cmd.LeanGotoInfoview()
assert.current_window.is(current_infoview.window)
end)

Expand Down

0 comments on commit e890efe

Please sign in to comment.