diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-06-22 03:44:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 03:44:51 -0700 |
commit | 4e6356559c8cd44dbcaa765d1f39e176064526ec (patch) | |
tree | 84354e7d3c5a49b7edbc314da2e2b834d275d42c /src/nvim/api/buffer.c | |
parent | f4f1ce1d167c557e54153f74cf0f55245b8fd414 (diff) | |
download | rneovim-4e6356559c8cd44dbcaa765d1f39e176064526ec.tar.gz rneovim-4e6356559c8cd44dbcaa765d1f39e176064526ec.tar.bz2 rneovim-4e6356559c8cd44dbcaa765d1f39e176064526ec.zip |
test: spellcheck :help (vimdoc) files #24109
Enforce consistent terminology (defined in
`gen_help_html.lua:spell_dict`) for common misspellings.
This does not spellcheck English in general (perhaps a future TODO,
though it may be noisy).
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r-- | src/nvim/api/buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c index 82a62c3192..4c3faf8d8b 100644 --- a/src/nvim/api/buffer.c +++ b/src/nvim/api/buffer.c @@ -112,7 +112,7 @@ Integer nvim_buf_line_count(Buffer buffer, Error *err) /// - byte count of previous contents /// - deleted_codepoints (if `utf_sizes` is true) /// - deleted_codeunits (if `utf_sizes` is true) -/// - on_bytes: lua callback invoked on change. +/// - on_bytes: Lua callback invoked on change. /// This callback receives more granular information about the /// change compared to on_lines. /// Return `true` to detach. @@ -1250,11 +1250,11 @@ ArrayOf(Integer, 2) nvim_buf_get_mark(Buffer buffer, String name, Error *err) /// buffer/window currently, like |termopen()|. /// /// @param buffer Buffer handle, or 0 for current buffer -/// @param fun Function to call inside the buffer (currently lua callable +/// @param fun Function to call inside the buffer (currently Lua callable /// only) /// @param[out] err Error details, if any -/// @return Return value of function. NB: will deepcopy lua values -/// currently, use upvalues to send lua references in and out. +/// @return Return value of function. NB: will deepcopy Lua values +/// currently, use upvalues to send Lua references in and out. Object nvim_buf_call(Buffer buffer, LuaRef fun, Error *err) FUNC_API_SINCE(7) FUNC_API_LUA_ONLY |