perf(nvim): improve neovim perf for heirline
Do not call a function to check hlsearch 🤦
This commit is contained in:
parent
9c1a0e72a7
commit
293667503b
@ -776,7 +776,7 @@ return {
|
||||
VimMode,
|
||||
{
|
||||
condition = function()
|
||||
return #vim.fn.searchcount() ~= 0
|
||||
return vim.v.hlsearch > 0
|
||||
end,
|
||||
{
|
||||
provider = " " .. seps.full.left,
|
||||
|
Loading…
Reference in New Issue
Block a user