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 setup_lspconf = "", -- path of lspconfig file
}, },
statusline = { 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 -- Initialize the components table
local components = { local components = {