mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 05:48:17 +00:00
docs: small fixes (#25585)
Co-authored-by: tmummert <doczook@gmx.de> Co-authored-by: parikshit adhikari <parikshitadhikari@gmail.com>
This commit is contained in:
@@ -359,7 +359,7 @@ void nvim_buf_set_lines(uint64_t channel_id, Buffer buffer, Integer start, Integ
|
||||
return;
|
||||
}
|
||||
|
||||
// loaded buffer first if it's not loaded
|
||||
// load buffer first if it's not loaded
|
||||
if (buf->b_ml.ml_mfp == NULL) {
|
||||
if (!buf_ensure_loaded(buf)) {
|
||||
api_set_error(err, kErrorTypeException, "Failed to load buffer");
|
||||
@@ -541,7 +541,7 @@ void nvim_buf_set_text(uint64_t channel_id, Buffer buffer, Integer start_row, In
|
||||
return;
|
||||
}
|
||||
|
||||
// loaded buffer first if it's not loaded
|
||||
// load buffer first if it's not loaded
|
||||
if (buf->b_ml.ml_mfp == NULL) {
|
||||
if (!buf_ensure_loaded(buf)) {
|
||||
api_set_error(err, kErrorTypeException, "Failed to load buffer");
|
||||
|
Reference in New Issue
Block a user