diff options
| author | Yi Ming <ofseed@foxmail.com> | 2023-12-18 08:11:47 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-17 18:11:47 -0600 |
| commit | e164f4c2715c97b48607bb6339eac3aff7106c47 (patch) | |
| tree | 4cf4043993b90d861f4e2bf23c93e1dc9ee0ca47 /runtime/doc | |
| parent | 75b8f4c8cbe595ff868c1a0c59edbdf9658e46b0 (diff) | |
| download | rneovim-e164f4c2715c97b48607bb6339eac3aff7106c47.tar.gz rneovim-e164f4c2715c97b48607bb6339eac3aff7106c47.tar.bz2 rneovim-e164f4c2715c97b48607bb6339eac3aff7106c47.zip | |
docs(diagnostic): add return value of `vim.diagnostic.config()` (#26615)
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/diagnostic.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt index 4cf8fef7c4..94ed578823 100644 --- a/runtime/doc/diagnostic.txt +++ b/runtime/doc/diagnostic.txt @@ -466,6 +466,9 @@ config({opts}, {namespace}) *vim.diagnostic.config()* • {namespace} (integer|nil) Update the options for the given namespace. When omitted, update the global diagnostic options. + Return: ~ + (table|nil) table of current diagnostic config if `opts` is omitted. + disable({bufnr}, {namespace}) *vim.diagnostic.disable()* Disable diagnostics in the given buffer. |