diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-07-31 10:46:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 16:46:38 +0800 |
commit | abc087f4c65ca547cae58518b42aee82ff4a07f6 (patch) | |
tree | c988358f1a3e0811053ece2a805f4e1d58c1e00f /src/nvim/api/options.c | |
parent | c1652bdcb5b5ca95b5ae328cec582f23816b70dd (diff) | |
download | rneovim-abc087f4c65ca547cae58518b42aee82ff4a07f6.tar.gz rneovim-abc087f4c65ca547cae58518b42aee82ff4a07f6.tar.bz2 rneovim-abc087f4c65ca547cae58518b42aee82ff4a07f6.zip |
docs: fix typos (#19024)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Valery Viktorovsky <viktorovsky@gmail.com>
Diffstat (limited to 'src/nvim/api/options.c')
-rw-r--r-- | src/nvim/api/options.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/api/options.c b/src/nvim/api/options.c index 5c9eba163b..867584dd71 100644 --- a/src/nvim/api/options.c +++ b/src/nvim/api/options.c @@ -280,7 +280,7 @@ Object nvim_buf_get_option(Buffer buffer, String name, Error *err) return get_option_from(buf, SREQ_BUF, name, err); } -/// Sets a buffer option value. Passing 'nil' as value deletes the option (only +/// Sets a buffer option value. Passing `nil` as value deletes the option (only /// works if there's a global fallback) /// /// @param channel_id @@ -318,7 +318,7 @@ Object nvim_win_get_option(Window window, String name, Error *err) return get_option_from(win, SREQ_WIN, name, err); } -/// Sets a window option value. Passing 'nil' as value deletes the option(only +/// Sets a window option value. Passing `nil` as value deletes the option (only /// works if there's a global fallback) /// /// @param channel_id @@ -338,7 +338,7 @@ void nvim_win_set_option(uint64_t channel_id, Window window, String name, Object set_option_to(channel_id, win, SREQ_WIN, name, value, err); } -/// Gets the value of a global or local(buffer, window) option. +/// Gets the value of a global or local (buffer, window) option. /// /// @param from If `type` is `SREQ_WIN` or `SREQ_BUF`, this must be a pointer /// to the window or buffer. @@ -393,7 +393,7 @@ Object get_option_from(void *from, int type, String name, Error *err) return rv; } -/// Sets the value of a global or local(buffer, window) option. +/// Sets the value of a global or local (buffer, window) option. /// /// @param to If `type` is `SREQ_WIN` or `SREQ_BUF`, this must be a pointer /// to the window or buffer. |