aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index ebbf8bb463..ba83b18d07 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -2001,7 +2001,7 @@ validate({opt}) *vim.validate()*
vim.validate{arg1={{'foo'}, {'table', 'string'}}, arg2={'foo', {'table', 'string'}}}
--> NOP (success)
- vim.validate{arg1={1, {'string', table'}}}
+ vim.validate{arg1={1, {'string', 'table'}}}
--> error('arg1: expected string|table, got number')
<