aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua-guide.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/lua-guide.txt')
-rw-r--r--runtime/doc/lua-guide.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lua-guide.txt b/runtime/doc/lua-guide.txt
index 28c9ace23b..61c3925a07 100644
--- a/runtime/doc/lua-guide.txt
+++ b/runtime/doc/lua-guide.txt
@@ -386,9 +386,9 @@ window is used:
>lua
vim.bo[4].expandtab = true -- sets expandtab to true in buffer 4
vim.wo.number = true -- sets number to true in current window
- vim.wo[0].number = true -- same as above
+ vim.wo[0].number = true -- same as above
vim.wo[0][0].number = true -- sets number to true in current buffer
- -- in current window only
+ -- in current window only
print(vim.wo[0].number) --> true
<
------------------------------------------------------------------------------