diff --git a/lua/quarto/runner/init.lua b/lua/quarto/runner/init.lua index 76f9d14..8cd838e 100644 --- a/lua/quarto/runner/init.lua +++ b/lua/quarto/runner/init.lua @@ -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)