From 83fa8956c3ababef977b15fc9ce935fee1445e9c Mon Sep 17 00:00:00 2001 From: Aditya Kurdunkar <51816057+aditya-K2@users.noreply.github.com> Date: Tue, 5 Oct 2021 00:39:32 +0530 Subject: docs: fix typo --- runtime/doc/api.txt | 2 +- src/nvim/api/vim.c | 2 +- 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) -- cgit