diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-01-04 19:07:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-04 11:07:40 -0700 |
| commit | 0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9 (patch) | |
| tree | 9c9f2f7f0049ac020dc9e3cef775a92dcc392639 /runtime/doc/lua.txt | |
| parent | d6f0c9539caca217ec1a63d32a048e43ff383e8f (diff) | |
| download | rneovim-0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9.tar.gz rneovim-0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9.tar.bz2 rneovim-0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9.zip | |
chore: fix typos (#16816)
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Sebastian Volland <seb@baunz.net>
Co-authored-by: Lewis Russell <lewis6991@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/doc/lua.txt')
| -rw-r--r-- | runtime/doc/lua.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 395aa54d50..4f76c7c7a6 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -274,7 +274,7 @@ arguments separated by " " (space) instead of "\t" (tab). lua << EOF local linenr = vim.api.nvim_win_get_cursor(0)[1] local curline = vim.api.nvim_buf_get_lines( - 0, linenr, linenr + 1, false)[1] + 0, linenr - 1, linenr, false)[1] print(string.format("Current line [%d] has %d bytes", linenr, #curline)) EOF |