make statusline separator style customizable | fix (#995)

This commit is contained in:
siduck 2022-04-30 03:57:12 +05:30
parent 83fe03455e
commit 263dcc0115
2 changed files with 3 additions and 2 deletions

View File

@ -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
},
},

View File

@ -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 = {