nix-community.nixvim/tests/test-sources/modules/diagnostics.nix
Matt Sturgeon 6c73350557
modules/diagnostic: rename diagnostics -> diagnostic.config
Currently we represent `vim.diagnostic.config()` as a top-level
`diagnostics` option. This means we have no clear namespace for
(e.g.) `vim.diagnostic.<action>` keymap functions.
2025-04-26 20:09:23 +01:00

8 lines
125 B
Nix

{
example = {
diagnostic.config = {
virtual_text = false;
virtual_lines.current_line = true;
};
};
}