From 0255c2de18dc558e320b7424dc3daed6cbe94260 Mon Sep 17 00:00:00 2001 From: Ben Lubas <56943754+benlubas@users.noreply.github.com> Date: Fri, 5 Jul 2024 17:02:56 -0400 Subject: [PATCH] chore(indent): remove extraneous return Co-authored-by: vhyrro <76052559+vhyrro@users.noreply.github.com> --- lua/neorg/modules/core/esupports/indent/module.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/neorg/modules/core/esupports/indent/module.lua b/lua/neorg/modules/core/esupports/indent/module.lua index 4aa1a7e93..86ffdd750 100644 --- a/lua/neorg/modules/core/esupports/indent/module.lua +++ b/lua/neorg/modules/core/esupports/indent/module.lua @@ -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, }