From ea4f88ff98e7f7b1e4a5121d85eb808e1a7b0e7b Mon Sep 17 00:00:00 2001 From: ant Date: Mon, 11 Sep 2023 09:43:24 +0200 Subject: [PATCH] no noice --- lua/configs/lualine.lua | 8 ++--- lua/plugins.lua | 80 ++++++++++++++++++++--------------------- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/lua/configs/lualine.lua b/lua/configs/lualine.lua index 8b00473..20cf1c0 100644 --- a/lua/configs/lualine.lua +++ b/lua/configs/lualine.lua @@ -22,10 +22,10 @@ local opts = { lualine_b = { 'branch', 'diff' }, lualine_c = { 'filename', - { - require("noice").api.status.mode.get, - cond = require("noice").api.status.mode.has, - }, + -- { + -- require("noice").api.status.mode.get, + -- cond = require("noice").api.status.mode.has, + -- }, }, lualine_x = { 'diagnostics', 'filetype' }, lualine_y = { 'progress' }, diff --git a/lua/plugins.lua b/lua/plugins.lua index 1c65dbb..7a4b2e3 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -70,7 +70,7 @@ local plugins = { mason = true, neogit = true, illuminate = false, - noice = true, + -- noice = true, notify = true, telescope = { enabled = true, @@ -345,45 +345,45 @@ local plugins = { end }, { "ofseed/lualine-copilot" }, - { - "folke/noice.nvim", - event = "VeryLazy", - opts = { - messages = { - view = "mini", -- default view for messages - view_error = "notify", -- view for errors - view_warn = "notify", -- view for warnings - view_history = "messages", -- view for :messages - view_search = "mini", -- view for search count messages. Set to `false` to disable - }, - cmdline = { - view = "cmdline", - }, - views = { - 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, - }, - }, - }, - presets = { - -- you can enable a preset by setting it to true, or a table that will override the preset config - -- you can also add custom presets that you can enable/disable with enabled=true - bottom_search = true, -- use a classic bottom cmdline for search - }, - }, - 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", - } - }, + -- { + -- "folke/noice.nvim", + -- event = "VeryLazy", + -- opts = { + -- messages = { + -- view = "mini", -- default view for messages + -- view_error = "notify", -- view for errors + -- view_warn = "notify", -- view for warnings + -- view_history = "messages", -- view for :messages + -- view_search = "mini", -- view for search count messages. Set to `false` to disable + -- }, + -- cmdline = { + -- view = "cmdline", + -- }, + -- views = { + -- 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, + -- }, + -- }, + -- }, + -- presets = { + -- -- you can enable a preset by setting it to true, or a table that will override the preset config + -- -- you can also add custom presets that you can enable/disable with enabled=true + -- bottom_search = true, -- use a classic bottom cmdline for search + -- }, + -- }, + -- 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", + -- } + -- }, { "rcarriga/nvim-notify", opts = {