add search count and macro

This commit is contained in:
fiplox 2023-01-03 14:56:39 +01:00
parent c84befc29d
commit 8393fc12ae
1 changed files with 20 additions and 0 deletions

View File

@ -196,6 +196,24 @@ function M.config()
style = 'bold', style = 'bold',
}, },
}, },
search_count = {
provider = 'search_count',
hl = {
style = 'bold',
bg = 'darkblue',
},
left_sep = 'block',
right_sep = 'block',
},
macro = {
provider = 'macro',
hl = {
style = 'bold',
bg = 'darkblue',
},
left_sep = 'block',
right_sep = 'block',
},
} }
local left = { local left = {
@ -219,6 +237,8 @@ function M.config()
local right = { local right = {
c.file_type, c.file_type,
c.search_count,
c.macro,
c.file_encoding, c.file_encoding,
c.position, c.position,
c.line_percentage, c.line_percentage,