nix-community.nixvim/tests/test-sources/plugins/by-name/lsp-lines/default.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

14 lines
231 B
Nix

{
empty = {
plugins.lsp-lines.enable = true;
};
example = {
plugins.lsp-lines.enable = true;
diagnostic.config.virtual_lines = {
only_current_line = true;
highlight_whole_line = false;
};
};
}