diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-04-15 12:35:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-15 12:35:06 +0200 |
| commit | e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6 (patch) | |
| tree | a05cf2f0a352b6bf3db38e5c7a57842615cc4a48 /runtime/doc/lua.txt | |
| parent | 4503cb6b642e0b1ba8157154af6a220387e607f0 (diff) | |
| download | rneovim-e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6.tar.gz rneovim-e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6.tar.bz2 rneovim-e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6.zip | |
docs: typo fixes (#17859)
Co-authored-by: Elias Alves Moura <eliamoura.alves@gmail.com>
Co-authored-by: venkatesh <shariharanvenkatesh@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Vikas Raj <24727447+numToStr@users.noreply.github.com>
Co-authored-by: Steve Vermeulen <sfvermeulen@gmail.com>
Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Co-authored-by: rwxd <rwxd@pm.me>
Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>
Diffstat (limited to 'runtime/doc/lua.txt')
| -rw-r--r-- | runtime/doc/lua.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 46b9f0576f..16f27486c8 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -1151,7 +1151,7 @@ In any of the above examples, to replicate the behavior |setlocal|, use |vim.opt| returns an Option object. -For example: `local listchar_object = vim.opt.listchar` +For example: `local listchar_object = vim.opt.listchars` An `Option` has the following methods: @@ -1910,7 +1910,7 @@ select({items}, {opts}, {on_choice}) *vim.ui.select()* which select() was called. {on_choice} function ((item|nil, idx|nil) -> ()) Called once the user made a choice. `idx` is the - 1-based index of `item` within `item`. `nil` + 1-based index of `item` within `items`. `nil` if the user aborted the dialog. |