mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-23 20:12:00 +00:00
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>
This commit is contained in:
parent
cc76be2ab6
commit
2174c17a46
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue