From a9e3cd2d6814b678cc2da6d639bcd1c0251b4ae1 Mon Sep 17 00:00:00 2001 From: th3r00t Date: Mon, 15 Sep 2025 13:15:31 -0400 Subject: [PATCH] trying to fix @ messages --- init.lua | 7 ++++++- lua/plugins.lua | 28 ++++++++++++++-------------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/init.lua b/init.lua index 7c71a82..daddce9 100644 --- a/init.lua +++ b/init.lua @@ -92,7 +92,12 @@ vim.api.nvim_create_autocmd("VimEnter", { lualine_a = { "mode" }, lualine_b = { "branch" }, lualine_c = { { "filename", file_status = true, path = 1 } }, - lualine_x = { "encoding", "fileformat", "filetype" }, + lualine_x = { + "encoding", "fileformat", "filetype", + require("noice").api.statusline.mode.get, + cond = require("noice").api.statusline.mode.has, + color = { fg = "#ff9e64" }, + }, lualine_y = { "progress" }, lualine_z = { "location" }, }, diff --git a/lua/plugins.lua b/lua/plugins.lua index 9de0048..08397fb 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -125,20 +125,20 @@ require('goto-preview').setup({ default_mappings = true }) require('telescope').setup({}) require('nvim-devdocs').setup({}) require('noice').setup({ - lsp = { - 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 - }, - }, - presets = { - bottom_search = true, -- 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 - }, + lsp = { + 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 + }, + }, + presets = { + bottom_search = true, -- 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 + }, routes = { view = "notify", filter = { event = "msg_showmode" },