From 2174c17a462646964c7cb8472456cc6082df13dc Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sat, 21 Feb 2026 06:01:41 +0100 Subject: [PATCH] languages/odin: disable dap notification spam (#1424) * languages/odin: disable dap notification spam --------- Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com> --- docs/manual/release-notes/rl-0.9.md | 4 ++++ modules/plugins/languages/odin.nix | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/manual/release-notes/rl-0.9.md b/docs/manual/release-notes/rl-0.9.md index cf36de93..141fe58b 100644 --- a/docs/manual/release-notes/rl-0.9.md +++ b/docs/manual/release-notes/rl-0.9.md @@ -196,6 +196,10 @@ - Added Debugging support to `languages.odin` with [nvim-dap-odin](https://github.com/NANDquark/nvim-dap-odin). +- Disabled notifications for + [nvim-dap-odin](https://github.com/NANDquark/nvim-dap-odin), because it + contain no use full information, only spam, and it can't be made lazy. + - Added [`golangci-lint`](https://golangci-lint.run/) for more diagnostics. - updated default filetypes for diff --git a/modules/plugins/languages/odin.nix b/modules/plugins/languages/odin.nix index 6c2f7b8e..cee9b330 100644 --- a/modules/plugins/languages/odin.nix +++ b/modules/plugins/languages/odin.nix @@ -104,7 +104,9 @@ in { startPlugins = ["nvim-dap-odin"]; debugger.nvim-dap.sources.odin-debugger = debuggers.${cfg.dap.debugger}.dapConfig; pluginRC.nvim-dap-odin = entryAfter ["nvim-dap"] '' - require('nvim-dap-odin').setup() + require('nvim-dap-odin').setup({ + notifications = false -- contains no useful information + }) ''; debugger.nvim-dap.enable = true; };