Skip to content

Commit

Permalink
Merge branch 'main' of github.com:funemy/lean.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
funemy committed Jan 8, 2025
2 parents 1d9bae8 + 430f0dd commit 21f085d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/infoview/jump_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
---@brief ]]

local fixtures = require 'spec.fixtures'
local infoview = require 'lean.infoview'
local helpers = require 'spec.helpers'
local infoview = require 'lean.infoview'

require('lean').setup {}

Expand All @@ -22,12 +22,12 @@ 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)

it('jumps back from infoview to the associated Lean file', function()
helpers.feed('<LocalLeader><Tab>')
helpers.feed '<LocalLeader><Tab>'
assert.current_window.is(lean_window)
end)
end)

0 comments on commit 21f085d

Please sign in to comment.