fix(statusline): user icon properly passed to statusline
This commit is contained in:
parent
11af995b75
commit
2444c5d59c
1 changed files with 2 additions and 4 deletions
|
@ -12,11 +12,9 @@ local get_highlight = require('cosmic.theme.utils').get_highlight
|
|||
local statusline_colors = get_highlight('StatusLine')
|
||||
|
||||
local defaults = vim.tbl_deep_extend('force', {
|
||||
statusline = {
|
||||
main_icon = icons.cosmic,
|
||||
},
|
||||
}, config.statusline or {})
|
||||
local main_icon = defaults.statusline.main_icon
|
||||
local main_icon = defaults.main_icon
|
||||
|
||||
local get_mode = function()
|
||||
local mode_colors = {
|
||||
|
|
Loading…
Add table
Reference in a new issue