neovim: show searchcount on lualine
This commit is contained in:
@@ -22,6 +22,10 @@ local relative_filename = {
|
|||||||
path = 1,
|
path = 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local searchcount = {
|
||||||
|
"searchcount",
|
||||||
|
}
|
||||||
|
|
||||||
local filetype = {
|
local filetype = {
|
||||||
function()
|
function()
|
||||||
local filetype = vim.bo.filetype
|
local filetype = vim.bo.filetype
|
||||||
@@ -119,7 +123,7 @@ lualine.setup({
|
|||||||
lualine_a = { mode },
|
lualine_a = { mode },
|
||||||
lualine_b = { branch },
|
lualine_b = { branch },
|
||||||
lualine_c = { diagnostics, relative_filename },
|
lualine_c = { diagnostics, relative_filename },
|
||||||
lualine_x = { diff, location, tabstop, fileformat },
|
lualine_x = { searchcount, diff, location, tabstop, fileformat },
|
||||||
lualine_y = { filetype },
|
lualine_y = { filetype },
|
||||||
lualine_z = {},
|
lualine_z = {},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user