aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-03-01 13:13:11 +0100
committerGitHub <noreply@github.com>2022-03-01 13:13:11 +0100
commit0a9b00913f1c2f88e27c32bd60b51ced5a0770f3 (patch)
tree6545d4c07d45f76552708d422d4b8e8454c3988c /runtime
parent37a86a2f964b5d6f9dbfae8b78acaa3a71f981bb (diff)
parent7b6ee3ef0a2d64657c8ca25f440e010c6dc75408 (diff)
downloadrneovim-0a9b00913f1c2f88e27c32bd60b51ced5a0770f3.tar.gz
rneovim-0a9b00913f1c2f88e27c32bd60b51ced5a0770f3.tar.bz2
rneovim-0a9b00913f1c2f88e27c32bd60b51ced5a0770f3.zip
Merge pull request #15079 from shadmansaleh/feat/verbose_lua
feat(lua): add :verbose support for lua config
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt4
-rw-r--r--runtime/doc/various.txt9
2 files changed, 7 insertions, 6 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 56c65394f3..82214a2527 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -6716,8 +6716,8 @@ A jump table for the options with a short description can be found at |Q_op|.
global
When bigger than zero, Vim will give messages about what it is doing.
Currently, these messages are given:
- >= 1 When the shada file is read or written.
- >= 2 When a file is ":source"'ed.
+ >= 1 Lua assignments to options,keymaps etc.
+ >= 2 When a file is ":source"'ed and when the shada file is read or written..
>= 3 UI info, terminal capabilities
>= 4 Shell commands.
>= 5 Every searched tags file and include file.
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index e1b87f60ad..19e429fde2 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -461,10 +461,11 @@ g8 Print the hex values of the bytes used in the
*:verbose-cmd*
When 'verbose' is non-zero, listing the value of a Vim option or a key map or
an abbreviation or a user-defined function or a command or a highlight group
-or an autocommand will also display where it was last defined. If it was
-defined manually then there will be no "Last set" message. When it was
-defined while executing a function, user command or autocommand, the script in
-which it was defined is reported.
+or an autocommand will also display where it was last defined. If they were
+defined in Lua they will only be located if 'verbose' is set. So Start
+nvim with -V1 arg to see them. If it was defined manually then there
+will be no "Last set" message. When it was defined while executing a function,
+user command or autocommand, the script in which it was defined is reported.
*K*
[count]K Runs the program given by 'keywordprg' to lookup the