Skip to content

Commit

Permalink
fix: use renamed table from otter.nvim. fixes #137.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Jun 30, 2024
1 parent 5db240a commit c873128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/quarto/runner/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ local function run(range, multi_lang)
end

otterkeeper.sync_raft(buf)
local oa = otterkeeper._otters_attached[buf]
local oa = otterkeeper.rafts[buf]
if oa == nil then
vim.notify("[Quarto] it seems that the code runner isn't initialized for this buffer.", vim.log.levels.ERROR)
return
end
local chunks = otterkeeper._otters_attached[buf].code_chunks
local chunks = otterkeeper.rafts[buf].code_chunks

local filtered = extract_code_cells_in_range(lang, chunks, range)

Expand Down

0 comments on commit c873128

Please sign in to comment.