From d7af286b54c62523b75c3ccdfc55641e1983c8fc Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Fri, 1 Jan 2021 17:28:43 +0100 Subject: [PATCH] Rename conceal mode to separator --- lua/hardline/common.lua | 2 +- lua/hardline/themes/default.lua | 2 +- lua/hardline/themes/one.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/hardline/common.lua b/lua/hardline/common.lua index 2fc9bf4..ddf6bd5 100644 --- a/lua/hardline/common.lua +++ b/lua/hardline/common.lua @@ -33,7 +33,7 @@ function M.get_state(section) return mode.state end if section.class == 'bufferline' then - if section.conceal then return 'conceal' end + if section.separator then return 'separator' end local state = section.current and 'current' or 'background' if section.modified then state = string.format('%s_modified', state) end return state diff --git a/lua/hardline/themes/default.lua b/lua/hardline/themes/default.lua index 59818ba..5de8d84 100644 --- a/lua/hardline/themes/default.lua +++ b/lua/hardline/themes/default.lua @@ -92,7 +92,7 @@ return { inactive = inactive, }, bufferline = { - conceal = { + separator = { guifg = colors.comment_grey.gui, guibg = colors.black.gui, ctermfg = colors.comment_grey.cterm, diff --git a/lua/hardline/themes/one.lua b/lua/hardline/themes/one.lua index 59818ba..5de8d84 100644 --- a/lua/hardline/themes/one.lua +++ b/lua/hardline/themes/one.lua @@ -92,7 +92,7 @@ return { inactive = inactive, }, bufferline = { - conceal = { + separator = { guifg = colors.comment_grey.gui, guibg = colors.black.gui, ctermfg = colors.comment_grey.cterm,