use latest noice the one in nixpkgs is causing me issues

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-05-16 10:50:15 -05:00
parent 7c2c2caa9c
commit 77248911bc
3 changed files with 40 additions and 3 deletions

18
flake.lock generated
View file

@ -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"
}
},

View file

@ -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;

View file

@ -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)