diff options
author | max397574 <[email protected]> | 2021-10-21 07:44:15 +0200 |
---|---|---|
committer | max397574 <[email protected]> | 2021-10-21 07:44:15 +0200 |
commit | 7a41a869d8d7431f3169321cce79c46d58848676 (patch) | |
tree | d8b904fd17fd63a1e314dfc7b032c48d646f1662 /lua/startup.lua | |
parent | c70db453c65bf0f2e45bf256a444bc0664573a83 (diff) |
fix(plugin): 🐛renamed fold to fold_section
Diffstat (limited to 'lua/startup.lua')
-rw-r--r-- | lua/startup.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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( |