diff --git a/flake.lock b/flake.lock index 912f88c..32e643f 100644 --- a/flake.lock +++ b/flake.lock @@ -50,10 +50,28 @@ "type": "github" } }, + "nvim_plugin-folke/noice.nvim": { + "flake": false, + "locked": { + "lastModified": 1715761625, + "narHash": "sha256-m3vRKLuWrNkhHMgnpfRodTqBScaQlsIYnShsrpjKa+E=", + "owner": "folke", + "repo": "noice.nvim", + "rev": "8389ff59ec6eab87d7328a83e3f28ca96111d7b1", + "type": "github" + }, + "original": { + "owner": "folke", + "ref": "v2.0.3", + "repo": "noice.nvim", + "type": "github" + } + }, "root": { "inputs": { "nixpkgs": "nixpkgs", "nvim_plugin-chrisgrieser/nvim-early-retirement": "nvim_plugin-chrisgrieser/nvim-early-retirement", + "nvim_plugin-folke/noice.nvim": "nvim_plugin-folke/noice.nvim", "rust-overlay": "rust-overlay" } }, diff --git a/flake.nix b/flake.nix index c0aa9d9..29fbf64 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,10 @@ url = "github:chrisgrieser/nvim-early-retirement"; flake = false; }; + "nvim_plugin-folke/noice.nvim" = { + url = "github:folke/noice.nvim/v2.0.3"; + flake = false; + }; }; outputs = { self, nixpkgs, ... }@inputs: @@ -57,7 +61,7 @@ "nvim_plugin-catppuccin/nvim" = catppuccin-nvim; "nvim_plugin-MunifTanjim/nui.nvim" = nui-nvim; "nvim_plugin-rcarriga/nvim-notify" = nvim-notify; - "nvim_plugin-folke/noice.nvim" = noice-nvim; + # "nvim_plugin-folke/noice.nvim" = noice-nvim; "nvim_plugin-nvim-lualine/lualine.nvim" = lualine-nvim; "nvim_plugin-folke/which-key.nvim" = which-key-nvim; "nvim_plugin-nvim-telescope/telescope.nvim" = telescope-nvim; diff --git a/lua/plugins/editor_noice.lua b/lua/plugins/editor_noice.lua index 9ad4188..1a22d9d 100644 --- a/lua/plugins/editor_noice.lua +++ b/lua/plugins/editor_noice.lua @@ -9,11 +9,24 @@ return { opts = { route = { routes = { - -- TODO idk keep having a lot of issues with this making me exit insert mode randomly { filter = { event = "lsp" }, opts = { skip = true } }, + -- { opts = { skip = true } }, }, }, + -- cmdline = { + -- enabled = false, + -- }, + -- popupmenu = { + -- enabled = false, -- enables the Noice popupmenu + -- }, + -- notify = { + -- enabled = false, + -- }, + -- smart_move = { + -- enabled = false, + -- }, messages = { + -- enabled = false, view = "mini", -- default view for messages view_error = "notify", -- view for errors view_warn = "mini", -- view for warnings @@ -28,7 +41,9 @@ return { ["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp }, -- I had an issue with auto_open kicking me out of insert mode when entering insert mode - signature = { auto_open = { trigger = false } }, + signature = { enabled = false, auto_open = { trigger = false } }, + -- hover = { enabled = false }, + -- message = { enabled = false }, }, }, config = function(_, opts)