Skip to content

Commit c873128

Browse files
committed
fix: use renamed table from otter.nvim. fixes #137.
1 parent 5db240a commit c873128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/quarto/runner/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ local function run(range, multi_lang)
8484
end
8585

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

9494
local filtered = extract_code_cells_in_range(lang, chunks, range)
9595

0 commit comments

Comments
 (0)