diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-02-22 00:07:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-22 00:07:26 +0800 |
| commit | 344a1ee8e6b7d78120f8393d1babfd285e866334 (patch) | |
| tree | 0cc3f034533cf038b52f54ded07433b7c86d3cff /src/nvim/api | |
| parent | ee26b227e15abc263195d4c746d5dba9f0e6dec4 (diff) | |
| download | rneovim-344a1ee8e6b7d78120f8393d1babfd285e866334.tar.gz rneovim-344a1ee8e6b7d78120f8393d1babfd285e866334.tar.bz2 rneovim-344a1ee8e6b7d78120f8393d1babfd285e866334.zip | |
docs: fix typos (#22353)
Diffstat (limited to 'src/nvim/api')
| -rw-r--r-- | src/nvim/api/extmark.c | 2 | ||||
| -rw-r--r-- | src/nvim/api/ui.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/extmark.c b/src/nvim/api/extmark.c index 91486abf38..845a4c7dbe 100644 --- a/src/nvim/api/extmark.c +++ b/src/nvim/api/extmark.c @@ -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 diff --git a/src/nvim/api/ui.c b/src/nvim/api/ui.c index 3c3c3008f4..f6dee066dc 100644 --- a/src/nvim/api/ui.c +++ b/src/nvim/api/ui.c @@ -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"); } |