From c41a654d6148e1858d98e37cea371993eac0b126 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 19 Oct 2024 22:43:29 +0200 Subject: [PATCH] Increase process buffer limit from 300 to 1000 lines before truncating --- lua/neogit/buffers/process/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/neogit/buffers/process/init.lua b/lua/neogit/buffers/process/init.lua index 7b59f8483..003ef12c3 100644 --- a/lua/neogit/buffers/process/init.lua +++ b/lua/neogit/buffers/process/init.lua @@ -72,7 +72,7 @@ end function M:append(data) self.lines = self.lines + 1 - if self.lines > 300 then + if self.lines > 1000 then if not self.truncated then self.content = table.concat({ self.content, "\r\n[Output too long - Truncated]" }, "\r\n") self.truncated = true