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