diff options
-rw-r--r-- | lua/startup.lua | 6 | ||||
-rw-r--r-- | lua/startup/themes/evil_startup.lua | 8 | ||||
-rw-r--r-- | lua/startup/themes/startify.lua | 4 |
3 files changed, 9 insertions, 9 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( diff --git a/lua/startup/themes/evil_startup.lua b/lua/startup/themes/evil_startup.lua index 9bf4879..b170deb 100644 --- a/lua/startup/themes/evil_startup.lua +++ b/lua/startup/themes/evil_startup.lua @@ -21,7 +21,7 @@ local settings = { body = { type = "mapping", align = "center", - fold = true, + fold_section = true, title = "Basic Commands", margin = 5, content = { @@ -40,7 +40,7 @@ local settings = { type = "oldfiles", oldfiles_directory = true, align = "center", - fold = true, + fold_section = true, title = "Oldfiles of Directory", margin = 5, content = {}, @@ -53,7 +53,7 @@ local settings = { type = "oldfiles", oldfiles_directory = false, align = "center", - fold = true, + fold_section = true, title = "Oldfiles", margin = 5, content = { "startup.nvim" }, @@ -68,7 +68,7 @@ local settings = { content = require("startup.buildingblocks.functions").packer_plugins(), oldfiles_directory = false, align = "center", - fold = false, + fold_section = false, title = "", margin = 5, highlight = "TSString", diff --git a/lua/startup/themes/startify.lua b/lua/startup/themes/startify.lua index 1ee2485..dc1091d 100644 --- a/lua/startup/themes/startify.lua +++ b/lua/startup/themes/startify.lua @@ -10,7 +10,7 @@ settings = { type = "oldfiles", oldfiles_directory = false, align = "center", - fold = false, + fold_section = false, title = "Oldfiles", margin = 5, content = { "startup.nvim" }, @@ -23,7 +23,7 @@ settings = { type = "oldfiles", oldfiles_directory = true, align = "center", - fold = false, + fold_section = false, title = "Oldfiles of Directory", margin = 5, content = {}, |