From e42c917dc48dfe40aeccebabb973bf2eda62a3b8 Mon Sep 17 00:00:00 2001 From: LingMessy <48382819+LingMessy@users.noreply.github.com> Date: Thu, 18 May 2023 18:10:19 +0800 Subject: [PATCH] fix: The `auto_close` configuration of scratch is not working This line of code causes the custom configuration not to work --- lua/FTerm/init.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/lua/FTerm/init.lua b/lua/FTerm/init.lua index d13133a..fe704bb 100644 --- a/lua/FTerm/init.lua +++ b/lua/FTerm/init.lua @@ -59,8 +59,6 @@ function M.scratch(cfg) return vim.notify('FTerm: Please provide configuration for scratch terminal', vim.log.levels.ERROR) end - cfg.auto_close = false - M:new(cfg):open() end