docs(options): remove misleading sentence (#27129)

Setting 'verbose' to 1 doesn't cause Nvim to produce messages. It adds
more information to existing messages, which is documented above.
This commit is contained in:
zeertzjq
2024-01-22 22:54:45 +08:00
committed by GitHub
parent b4da4783f9
commit cb6320e13f
3 changed files with 9 additions and 9 deletions

View File

@@ -6807,15 +6807,15 @@ A jump table for the options with a short description can be found at |Q_op|.
global global
Sets the verbosity level. Also set by |-V| and |:verbose|. Sets the verbosity level. Also set by |-V| and |:verbose|.
Tracing of options in Lua scripts is activated at level 1; Lua scripts Tracing of assignments to options, mappings, etc. in Lua scripts is
are not traced with verbose=0, for performance. enabled at level 1; Lua scripts are not traced when 'verbose' is 0,
for performance.
If greater than or equal to a given level, Nvim produces the following If greater than or equal to a given level, Nvim produces the following
messages: messages:
Level Messages ~ Level Messages ~
---------------------------------------------------------------------- ----------------------------------------------------------------------
1 Lua assignments to options, mappings, etc.
2 When a file is ":source"'ed, or |shada| file is read or written. 2 When a file is ":source"'ed, or |shada| file is read or written.
3 UI info, terminal capabilities. 3 UI info, terminal capabilities.
4 Shell commands. 4 Shell commands.

View File

@@ -7432,15 +7432,15 @@ vim.bo.vts = vim.bo.vartabstop
--- Sets the verbosity level. Also set by `-V` and `:verbose`. --- Sets the verbosity level. Also set by `-V` and `:verbose`.
--- ---
--- Tracing of options in Lua scripts is activated at level 1; Lua scripts --- Tracing of assignments to options, mappings, etc. in Lua scripts is
--- are not traced with verbose=0, for performance. --- enabled at level 1; Lua scripts are not traced when 'verbose' is 0,
--- for performance.
--- ---
--- If greater than or equal to a given level, Nvim produces the following --- If greater than or equal to a given level, Nvim produces the following
--- messages: --- messages:
--- ---
--- Level Messages ~ --- Level Messages ~
--- ---------------------------------------------------------------------- --- ----------------------------------------------------------------------
--- 1 Lua assignments to options, mappings, etc.
--- 2 When a file is ":source"'ed, or `shada` file is read or written. --- 2 When a file is ":source"'ed, or `shada` file is read or written.
--- 3 UI info, terminal capabilities. --- 3 UI info, terminal capabilities.
--- 4 Shell commands. --- 4 Shell commands.

View File

@@ -9291,15 +9291,15 @@ return {
desc = [=[ desc = [=[
Sets the verbosity level. Also set by |-V| and |:verbose|. Sets the verbosity level. Also set by |-V| and |:verbose|.
Tracing of options in Lua scripts is activated at level 1; Lua scripts Tracing of assignments to options, mappings, etc. in Lua scripts is
are not traced with verbose=0, for performance. enabled at level 1; Lua scripts are not traced when 'verbose' is 0,
for performance.
If greater than or equal to a given level, Nvim produces the following If greater than or equal to a given level, Nvim produces the following
messages: messages:
Level Messages ~ Level Messages ~
---------------------------------------------------------------------- ----------------------------------------------------------------------
1 Lua assignments to options, mappings, etc.
2 When a file is ":source"'ed, or |shada| file is read or written. 2 When a file is ":source"'ed, or |shada| file is read or written.
3 UI info, terminal capabilities. 3 UI info, terminal capabilities.
4 Shell commands. 4 Shell commands.