perf(nvim): improve neovim perf for heirline

Do not call a function to check hlsearch 🤦
This commit is contained in:
Price Hiller 2023-10-03 01:29:30 -05:00
parent 9c1a0e72a7
commit 293667503b
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -776,7 +776,7 @@ return {
VimMode,
{
condition = function()
return #vim.fn.searchcount() ~= 0
return vim.v.hlsearch > 0
end,
{
provider = " " .. seps.full.left,