mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
modules/diagnostics: fix virtual_lines
example
The setting is named `current_line`, not `only_current_line`. See https://neovim.io/doc/user/diagnostic.html#vim.diagnostic.Opts.VirtualLines
This commit is contained in:
parent
e6e5369535
commit
d86fe3df56
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
description = "The configuration diagnostic options, provided to `vim.diagnostic.config`.";
|
description = "The configuration diagnostic options, provided to `vim.diagnostic.config`.";
|
||||||
example = {
|
example = {
|
||||||
virtual_text = false;
|
virtual_text = false;
|
||||||
virtual_lines.only_current_line = true;
|
virtual_lines.current_line = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
example = {
|
example = {
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
virtual_text = false;
|
virtual_text = false;
|
||||||
virtual_lines.only_current_line = true;
|
virtual_lines.current_line = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue