mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
docs: fix typos (#22353)
This commit is contained in:
@@ -445,7 +445,7 @@ Array nvim_buf_get_extmarks(Buffer buffer, Integer ns_id, Object start, Object e
|
||||
/// buffer.
|
||||
/// - right_gravity : boolean that indicates the direction
|
||||
/// the extmark will be shifted in when new text is inserted
|
||||
/// (true for right, false for left). defaults to true.
|
||||
/// (true for right, false for left). Defaults to true.
|
||||
/// - end_right_gravity : boolean that indicates the direction
|
||||
/// the extmark end position (if it exists) will be shifted
|
||||
/// in when new text is inserted (true for right, false
|
||||
|
@@ -382,7 +382,7 @@ static void ui_set_option(UI *ui, bool init, String name, Object value, Error *e
|
||||
});
|
||||
bool boolval = value.data.boolean;
|
||||
if (!init && i == kUILinegrid && boolval != ui->ui_ext[i]) {
|
||||
// There shouldn't be a reason for an UI to do this ever
|
||||
// There shouldn't be a reason for a UI to do this ever
|
||||
// so explicitly don't support this.
|
||||
api_set_error(err, kErrorTypeValidation, "ext_linegrid option cannot be changed");
|
||||
}
|
||||
|
Reference in New Issue
Block a user