-
Did you check docs and existing issues?
Neovim version (nvim -v)NVIM v0.9.5 Build type: Release LuaJIT 2.1.1713773202 Operating system/versionArchLinux Kernel version: 6.8.9-arch1-1 Describe the bugI'm using NvChad 2.0. Here is my settings for noice and lualinereturn {
{
"folke/noice.nvim",
event = "VeryLazy",
opts = {
-- add any options here
},
dependencies = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
"MunifTanjim/nui.nvim",
-- OPTIONAL:
-- `nvim-notify` is only needed, if you want to use the notification view.
-- If not available, we use `mini` as the fallback
"rcarriga/nvim-notify",
},
config = function()
require("noice").setup({
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
},
},
-- you can enable a preset for easier configuration
presets = {
bottom_search = false, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
cmdline = {
view = "cmdline",
},
-- routes = {
-- view = "mini",
-- filter = {
-- event = "msg_showmode",
-- any = {
-- { find = "recording" },
-- },
-- },
-- },
})
end,
keys = {
{ "<leader>Nt", "<cmd>Noice telescope<cr>", desc = "Show all notifications using Telescope" },
{ "<leader>Nl", "<cmd>Noice last<cr>", desc = "Show the last notification" },
}
},
{
'nvim-lualine/lualine.nvim',
dependencies = {
'nvim-tree/nvim-web-devicons',
"folke/noice.nvim",
},
config = function()
require("lualine").setup({
sections = {
lualine_x = {
{
require("noice").api.statusline.mode.get,
cond = require("noice").api.statusline.mode.has,
color = { fg = "#ff9e64" },
}
},
},
})
end
},
}
When I type Anyway, it's slightly annoying when I can't control this process. Of course, in many cases I don't need any visualization of this process, but sometimes it's needed. Steps To Reproduce
Expected BehaviorThe macro recording notification must be shown. Repro-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
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",
-- add any other plugins here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 24 replies
-
Try this: routes = {
{
view = 'notify',
filter = {
event = 'msg_showmode',
any = {
{ find = 'recording' },
},
},
},
} This is described here |
Beta Was this translation helpful? Give feedback.
-
Guys, I was incorrect when have been writing this issue. I see the message like I've tried to catch the moment when I pressed So, if somebody knows a solution of how to indicate this state, I would be really grateful to this person. |
Beta Was this translation helpful? Give feedback.
-
@ilias777 let me explain: when I press If I misclicked the But in case with hidden command line, I can't see this indicator on the right side of the command line, and sometimes it's annoying me. So this is what I mean. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Yes, this is normal behavior. If you press
q
, Neovim is waiting to press the next letter and then it shows the messagerecording @{key}
.No, your questi…