Skip to content

Commit

Permalink
fix(doom): Fix center generation without a config
Browse files Browse the repository at this point in the history
  • Loading branch information
polirritmico committed Aug 7, 2024
1 parent d5cfa1b commit 54dc5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dashboard/theme/doom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ local function theme_instance(config)
require('dashboard.theme.header').generate_header(config)
vert_offset = api.nvim_buf_line_count(config.bufnr)

local lines = gen_center_base(config)
local lines = gen_center_base(config) or {}
local footer_size = gen_footer(config)
vertical_center(config)
local actions_position_map = gen_center_highlights_and_keys(config, lines)
Expand Down

0 comments on commit 54dc5da

Please sign in to comment.