Skip to content

Commit 0255c2d

Browse files
benlubasvhyrro
andcommitted
chore(indent): remove extraneous return
Co-authored-by: vhyrro <[email protected]>
1 parent 5bcc5c6 commit 0255c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neorg/modules/core/esupports/indent/module.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ module.public = {
145145
end
146146

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

0 commit comments

Comments
 (0)