aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/ui.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-08-03 03:47:16 +0200
committerGitHub <noreply@github.com>2022-08-03 09:47:16 +0800
commitb8dcbcc732baf84fc48d6b272c3ade0bcb129b3b (patch)
tree4818e98e9211d71d21eec359f29721e2b3ff3f2e /src/nvim/api/ui.c
parentcc1ceebf8f13aed1ec0cbe0ff1ad7b2d8a6f10be (diff)
downloadrneovim-b8dcbcc732baf84fc48d6b272c3ade0bcb129b3b.tar.gz
rneovim-b8dcbcc732baf84fc48d6b272c3ade0bcb129b3b.tar.bz2
rneovim-b8dcbcc732baf84fc48d6b272c3ade0bcb129b3b.zip
docs: fix typos (#19588)
Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: notomo <notomo.motono@gmail.com>
Diffstat (limited to 'src/nvim/api/ui.c')
-rw-r--r--src/nvim/api/ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/ui.c b/src/nvim/api/ui.c
index aa7bed1132..6239e414a7 100644
--- a/src/nvim/api/ui.c
+++ b/src/nvim/api/ui.c
@@ -27,7 +27,7 @@ typedef struct {
uint64_t channel_id;
#define UI_BUF_SIZE 4096 ///< total buffer size for pending msgpack data.
- /// guranteed size available for each new event (so packing of simple events
+ /// guaranteed size available for each new event (so packing of simple events
/// and the header of grid_line will never fail)
#define EVENT_BUF_SIZE 256
char buf[UI_BUF_SIZE]; ///< buffer of packed but not yet sent msgpack data
@@ -43,7 +43,7 @@ typedef struct {
// We start packing the two outermost msgpack arrays before knowing the total
// number of elements. Thus track the location where array size will need
- // to be written in the msgpack buffer, once the specifc array is finished.
+ // to be written in the msgpack buffer, once the specific array is finished.
char *nevents_pos;
char *ncalls_pos;
uint32_t nevents; ///< number of distinct events (top-level args to "redraw"