mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 10:14:31 +02:00
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.
14 lines
231 B
Nix
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;
|
|
};
|
|
};
|
|
}
|