Rename conceal mode to separator

This commit is contained in:
Olivier Roques
2021-01-01 17:28:43 +01:00
committed by Olivier Roques
parent 05deaec00e
commit d7af286b54
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -92,7 +92,7 @@ return {
inactive = inactive,
},
bufferline = {
conceal = {
separator = {
guifg = colors.comment_grey.gui,
guibg = colors.black.gui,
ctermfg = colors.comment_grey.cterm,

View File

@@ -92,7 +92,7 @@ return {
inactive = inactive,
},
bufferline = {
conceal = {
separator = {
guifg = colors.comment_grey.gui,
guibg = colors.black.gui,
ctermfg = colors.comment_grey.cterm,