aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/api.txt
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-04-15 12:35:06 +0200
committerGitHub <noreply@github.com>2022-04-15 12:35:06 +0200
commite63e5d1dbd3dd4711efa0ecf9e844ff308b370a6 (patch)
treea05cf2f0a352b6bf3db38e5c7a57842615cc4a48 /runtime/doc/api.txt
parent4503cb6b642e0b1ba8157154af6a220387e607f0 (diff)
downloadrneovim-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/api.txt')
-rw-r--r--runtime/doc/api.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 858258320d..9e0002db48 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -2859,8 +2859,7 @@ nvim_win_set_cursor({window}, {pos}) *nvim_win_set_cursor()*
{pos} (row, col) tuple representing the new position
nvim_win_set_height({window}, {height}) *nvim_win_set_height()*
- Sets the window height. This will only succeed if the screen
- is split horizontally.
+ Sets the window height.
Parameters: ~
{window} Window handle, or 0 for current window
@@ -3234,9 +3233,9 @@ nvim_create_autocmd({event}, {*opts}) *nvim_create_autocmd()*
pattern = { "*.py", "*.pyi" }
<
- Examples values for event: >
- "BufPreWrite"
- {"CursorHold", "BufPreWrite", "BufPostWrite"}
+ Example values for event: >
+ "BufWritePre"
+ {"CursorHold", "BufWritePre", "BufWritePost"}
<
Parameters: ~