Skip to content

Commit

Permalink
fix(tangle): accessing unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Aug 7, 2023
1 parent e424ac7 commit 0f37ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neorg/modules/core/tangle/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ module.public = {
end

if options.delimiter == "file-content" then
for filename, start in pairs(filecontent_line_start) do
for filename, start in pairs(file_content_line_start) do
local language = filename_to_languages[filename]
local delimiter_content = vim.api.nvim_buf_get_lines(buffer, start, -1, true)
for idx, line in ipairs(delimiter_content) do
Expand Down

0 comments on commit 0f37ab8

Please sign in to comment.