make statusline separator style customizable | fix (#995)
This commit is contained in:
parent
83fe03455e
commit
263dcc0115
|
@ -36,7 +36,7 @@ M.plugins = {
|
|||
setup_lspconf = "", -- path of lspconfig file
|
||||
},
|
||||
statusline = {
|
||||
style = "default", -- default/round/slant/block/arrow
|
||||
separator_style = "default", -- default/round/slant/block/arrow
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -49,7 +49,8 @@ local icon_styles = {
|
|||
},
|
||||
}
|
||||
|
||||
local separator_style = icon_styles.default
|
||||
local separator = require("core.utils").load_config().plugins.options.statusline.separator_style
|
||||
local separator_style = icon_styles[separator]
|
||||
|
||||
-- Initialize the components table
|
||||
local components = {
|
||||
|
|
Loading…
Reference in New Issue