Skip to content

Commit

Permalink
chore(indent): remove extraneous return
Browse files Browse the repository at this point in the history
Co-authored-by: vhyrro <76052559+vhyrro@users.noreply.github.com>
  • Loading branch information
benlubas and vhyrro committed Jul 5, 2024
1 parent 5bcc5c6 commit 0255c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neorg/modules/core/esupports/indent/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ module.public = {
end

local leading_whitespace = line:match("^%s*"):len()
return vim.api.nvim_buf_set_text(buffer, start_row, 0, start_row, leading_whitespace, { (" "):rep(new_indent) })
vim.api.nvim_buf_set_text(buffer, start_row, 0, start_row, leading_whitespace, { (" "):rep(new_indent) })
end,
}

Expand Down

0 comments on commit 0255c2d

Please sign in to comment.