aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-08-29 12:38:11 -0400
committerMichael Lingelbach <m.j.lbach@gmail.com>2021-09-05 10:05:38 -0700
commitf7dabbc115296d7d821985fb77d63a2958d48be3 (patch)
tree94f190f92cbc3df0a70c64610b7a7d6e0e3621d1 /runtime/doc/lua.txt
parentdf17d7844ed7dedcb80f9405f7078a046a12524a (diff)
downloadrneovim-f7dabbc115296d7d821985fb77d63a2958d48be3.tar.gz
rneovim-f7dabbc115296d7d821985fb77d63a2958d48be3.tar.bz2
rneovim-f7dabbc115296d7d821985fb77d63a2958d48be3.zip
docs: regenerate
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 5f874a59d7..d4c6e55d0e 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -1577,14 +1577,12 @@ validate({opt}) *vim.validate()*
vim.validate{arg1={{'foo'}, 'table'}, arg2={'foo', 'string'}}
=> NOP (success)
-<
->
- vim.validate{arg1={1, 'table'}}
- => error('arg1: expected table, got number')
-<
->
- vim.validate{arg1={3, function(a) return (a % 2) == 0 end, 'even number'}}
- => error('arg1: expected even number, got 3')
+
+ vim.validate{arg1={1, 'table'}}
+ => error('arg1: expected table, got number')
+
+ vim.validate{arg1={3, function(a) return (a % 2) == 0 end, 'even number'}}
+ => error('arg1: expected even number, got 3')
<
Parameters: ~