aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Kurdunkar <51816057+aditya-K2@users.noreply.github.com>2021-10-05 00:39:32 +0530
committerGitHub <noreply@github.com>2021-10-04 13:09:32 -0600
commit83fa8956c3ababef977b15fc9ce935fee1445e9c (patch)
tree2bf3a28493a6abdcd3cb0dd79d9ba9f006c3de91
parent253a012469f19f57c97190322f563001bf174ce3 (diff)
downloadrneovim-83fa8956c3ababef977b15fc9ce935fee1445e9c.tar.gz
rneovim-83fa8956c3ababef977b15fc9ce935fee1445e9c.tar.bz2
rneovim-83fa8956c3ababef977b15fc9ce935fee1445e9c.zip
docs: fix typo
-rw-r--r--runtime/doc/api.txt2
-rw-r--r--src/nvim/api/vim.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index df345e4981..a8b4bc7dd2 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1251,7 +1251,7 @@ nvim_open_term({buffer}, {opts}) *nvim_open_term()*
For instance, for a floating display, first create an empty
buffer using |nvim_create_buf()|, then display it using
|nvim_open_win()|, and then call this function. Then
- |nvim_chan_send()| cal be called immediately to process
+ |nvim_chan_send()| can be called immediately to process
sequences in a virtual terminal having the intended size.
Parameters: ~
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 33981665c2..45fca8b1c5 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1219,7 +1219,7 @@ fail:
/// buffer in a configured window before calling this. For instance, for a
/// floating display, first create an empty buffer using |nvim_create_buf()|,
/// then display it using |nvim_open_win()|, and then call this function.
-/// Then |nvim_chan_send()| cal be called immediately to process sequences
+/// Then |nvim_chan_send()| can be called immediately to process sequences
/// in a virtual terminal having the intended size.
///
/// @param buffer the buffer to use (expected to be empty)