From 7a41a869d8d7431f3169321cce79c46d58848676 Mon Sep 17 00:00:00 2001 From: max397574 Date: Thu, 21 Oct 2021 07:44:15 +0200 Subject: =?UTF-8?q?fix(plugin):=20=F0=9F=90=9Brenamed=20fold=20to=20fold?= =?UTF-8?q?=5Fsection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/startup.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua/startup.lua') diff --git a/lua/startup.lua b/lua/startup.lua index ab3b2ea..b57c614 100644 --- a/lua/startup.lua +++ b/lua/startup.lua @@ -282,7 +282,7 @@ function M.display() options.highlight = "Startup" .. part end if options.type == "text" then - if options.fold then + if options.fold_section then section_alignments[vim.trim(options.title)] = options.align M.sections[vim.trim(options.title)] = options.content table.insert( @@ -298,7 +298,7 @@ function M.display() end end elseif options.type == "mapping" then - if options.fold then + if options.fold_section then section_alignments[vim.trim(options.title)] = options.align M.sections[vim.trim(options.title)] = mapping_names(options.content) table.insert( @@ -322,7 +322,7 @@ function M.display() else old_files = utils.get_oldfiles(options.oldfiles_amount) end - if options.fold then + if options.fold_section then section_alignments[vim.trim(options.title)] = options.align M.sections[vim.trim(options.title)] = old_files table.insert( -- cgit v1.2.3