Skip to content

Commit 2174c17

Browse files
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>
1 parent cc76be2 commit 2174c17

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/manual/release-notes/rl-0.9.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@
196196
- Added Debugging support to `languages.odin` with
197197
[nvim-dap-odin](https://github.com/NANDquark/nvim-dap-odin).
198198
199+
- Disabled notifications for
200+
[nvim-dap-odin](https://github.com/NANDquark/nvim-dap-odin), because it
201+
contain no use full information, only spam, and it can't be made lazy.
202+
199203
- Added [`golangci-lint`](https://golangci-lint.run/) for more diagnostics.
200204
201205
- updated default filetypes for

modules/plugins/languages/odin.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ in {
104104
startPlugins = ["nvim-dap-odin"];
105105
debugger.nvim-dap.sources.odin-debugger = debuggers.${cfg.dap.debugger}.dapConfig;
106106
pluginRC.nvim-dap-odin = entryAfter ["nvim-dap"] ''
107-
require('nvim-dap-odin').setup()
107+
require('nvim-dap-odin').setup({
108+
notifications = false -- contains no useful information
109+
})
108110
'';
109111
debugger.nvim-dap.enable = true;
110112
};

0 commit comments

Comments
 (0)