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.
This commit is contained in:
Matt Sturgeon 2025-04-26 19:26:21 +01:00
parent c3a42a7ac4
commit 6c73350557
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
6 changed files with 38 additions and 30 deletions

View file

@ -6,7 +6,7 @@
example = {
plugins.lsp-lines.enable = true;
diagnostics.virtual_lines = {
diagnostic.config.virtual_lines = {
only_current_line = true;
highlight_whole_line = false;
};