Reputation: 19
In the neovim text editor, with my LSP configuration, I see messages in the bottom-right corner of the window.
I find them really distracting while trying to code.
I couldn't find any reference to those messages in the documentation.
Does someone know how to hide them?
Upvotes: 0
Views: 1107
Reputation: 1
I also had this problem and I found that this messages is coming from noice plugin not the LSP itself you may be using another plugin that shows messages but here are the lines that I commented to disable these messages it may help you
return {
"folke/noice.nvim",
event = "VeryLazy",
dependencies = {
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify",
},
-- config = function()
-- require("noice").setup({
-- cmdline = {
-- enabled = true, -- Show the command line in a floating UI
-- },
-- messages = {
-- enabled = false, -- Disable message spam at the bottom
-- },
-- lsp = {
-- override = {
-- ["vim.lsp.util.convert_input_to_markdown_lines"] = true,
-- ["vim.lsp.util.stylize_markdown"] = true,
-- ["cmp.entry.get_documentation"] = true,
-- },
-- },
-- })
-- end,
}
Upvotes: 0
Reputation: 52
It might be the work of one of the plugins you have installed. You can check and edit the configuration file with the features you want and disable the rest of them.
Upvotes: 2