Skip to content

Commit d64a67e

Browse files
committed
fix(grug-far-nvim): fix icon disabling
1 parent c8c6c6c commit d64a67e

File tree

1 file changed

+3
-8
lines changed
  • lua/astrocommunity/search/grug-far-nvim

1 file changed

+3
-8
lines changed

lua/astrocommunity/search/grug-far-nvim/init.lua

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,10 @@ return {
130130
opts = function(_, opts)
131131
opts.transient = true
132132
if not opts.icons then opts.icons = {} end
133-
opts.icons.enabled = vim.g.icons_enabled
134-
if not vim.g.icons_enabled then
133+
if vim.g.icons_enabled == false then
134+
opts.icons.enabled = false
135135
opts.resultsSeparatorLineChar = "-"
136-
opts.spinnerStates = {
137-
"|",
138-
"\\",
139-
"-",
140-
"/",
141-
}
136+
opts.spinnerStates = { "|", "\\", "-", "/" }
142137
end
143138
end,
144139
}

0 commit comments

Comments
 (0)