[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.10.0
Operating system/version
Arch Linux
Describe the bug
I assume using the default setup that noice would show an icon for search/replace but it isn't.
/
:(just entering the cmdline)
:%s/
:%s/abc
I have tried setting up with defaults and I have tried adding my own replace pattern. As in the seen in my reproducable example, I tested using nvim -u repro.lua and still not showing icon for replace so I don't think it's any of my plugins but I could be wrong
Steps To Reproduce
Setup using default, or use custom replace formatting
Open cmdline
type: %s/
Expected Behavior
For cmdline format to show the correct icon when entering search/replace
Repro
local root = vim.fn.fnamemodify("./.repro", ":p")
for _, name in ipairs({ "config", "data", "state", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
"folke/tokyonight.nvim",
{
"folke/noice.nvim",
dependencies = "MunifTanjim/nui.nvim",
opts = {
cmdline = {
format = {
replace = { pattern = "^:%s/", icon = "", lang = "vim" }
}
}
}
}
}
require("lazy").setup(plugins, { root = root .. "/plugins"})
vim.cmd.colorscheme("tokyonight")
Did you check docs and existing issues?
Neovim version (nvim -v)
0.10.0
Operating system/version
Arch Linux
Describe the bug
I assume using the default setup that noice would show an icon for search/replace but it isn't.
/
:
(just entering the cmdline):%s/
:%s/abc
I have tried setting up with defaults and I have tried adding my own replace pattern. As in the seen in my reproducable example, I tested using
nvim -u repro.lua
and still not showing icon for replace so I don't think it's any of my plugins but I could be wrongSteps To Reproduce
%s/
Expected Behavior
For cmdline format to show the correct icon when entering search/replace
Repro