From 38cfa308e2de4a02400ef544df2600907862d74b Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 18 Jan 2024 14:50:08 +0300 Subject: [PATCH] nvim: remove plugins noice --- .../nvim/lua/base/plugins/auto_save.lua | 2 +- .../.config/nvim/lua/base/plugins/noice.lua | 29 ------------------- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 home/user/.config/nvim/lua/base/plugins/noice.lua diff --git a/home/user/.config/nvim/lua/base/plugins/auto_save.lua b/home/user/.config/nvim/lua/base/plugins/auto_save.lua index e4761e8..dbf6ddb 100644 --- a/home/user/.config/nvim/lua/base/plugins/auto_save.lua +++ b/home/user/.config/nvim/lua/base/plugins/auto_save.lua @@ -5,7 +5,7 @@ return { enabled = true, -- start auto-save when the plugin is loaded (i.e. when your package manager loads it) execution_message = { message = function() -- message to print on save - return ("AutoSave: saved at " .. vim.fn.strftime("%H:%M:%S")) + return "" end, dim = 0.18, -- dim the color of `message` cleaning_interval = 1250, -- (milliseconds) automatically clean MsgArea after displaying `message`. See :h MsgArea diff --git a/home/user/.config/nvim/lua/base/plugins/noice.lua b/home/user/.config/nvim/lua/base/plugins/noice.lua deleted file mode 100644 index 193ecc7..0000000 --- a/home/user/.config/nvim/lua/base/plugins/noice.lua +++ /dev/null @@ -1,29 +0,0 @@ -return { - "folke/noice.nvim", - dependencies = { - "MunifTanjim/nui.nvim" - }, - config = function() - require("noice").setup({ - cmdline = { - enabled = true, -- enables the Noice cmdline UI - view = "cmdline_popup", - format = { - cmdline = { pattern = "^:", icon = "", lang = "vim" }, - search_down = { kind = "search", pattern = "^/", icon = " ", lang = "regex" }, - search_up = { kind = "search", pattern = "^%?", icon = " ", lang = "regex" }, - filter = { pattern = "^:%s*!", icon = "$", lang = "bash" }, - lua = { pattern = { "^:%s*lua%s+", "^:%s*lua%s*=%s*", "^:%s*=%s*" }, icon = "", lang = "lua" }, - help = { pattern = "^:%s*he?l?p?%s+", icon = "" }, - input = {}, - }, - }, - messages = { - enabled = false, - }, - notify = { - enabled = false, - } - }) - end, -}