lualine.nvim icon indicating copy to clipboard operation
lualine.nvim copied to clipboard

Feat: Allow using the `searchcount` component with `hlsearch` disabled

Open itaranto opened this issue 2 years ago • 1 comments

Requested feature

I'd like to be able to use the searchcount component with hlsearch disabled.

Motivation

I'm trying out cmdheight=0 and currently there's no way to display the search count using lualine if don't want to use hlsearch.

itaranto avatar Oct 03 '23 12:10 itaranto

u can set hlsearch's highlights to nothing.

-- vim.cmd('colorscheme theme')
vim.api.nvim_set_hl(0,'Search',{})
vim.api.nvim_set_hl(0,'CurSearch',{})

Sam-programs avatar Nov 22 '23 08:11 Sam-programs