aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2021-09-10 19:13:36 -0700
committerGitHub <noreply@github.com>2021-09-10 19:13:36 -0700
commit09a477737fbfec1d49a88709e9d4661a0b4fd1e8 (patch)
treecce1ba9553293ee87db28b2f9fa9e4c540a6a918 /src/nvim/api/vim.c
parent9697023a0be2511f9e9be59a73afe3a2d5b7bf23 (diff)
parent915703f2d87fb591adb247b8a1664380c5e9c951 (diff)
downloadrneovim-09a477737fbfec1d49a88709e9d4661a0b4fd1e8.tar.gz
rneovim-09a477737fbfec1d49a88709e9d4661a0b4fd1e8.tar.bz2
rneovim-09a477737fbfec1d49a88709e9d4661a0b4fd1e8.zip
Merge #15311 docs(extmarks)
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 5f48a26a29..f65d5cc185 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -275,9 +275,9 @@ static void on_redraw_event(void **argv)
///
/// On execution error: does not fail, but updates v:errmsg.
///
-/// If you need to input sequences like <C-o> use |nvim_replace_termcodes| to
-/// replace the termcodes and then pass the resulting string to nvim_feedkeys.
-/// You'll also want to enable escape_csi.
+/// To input sequences like <C-o> use |nvim_replace_termcodes()| (typically
+/// with escape_csi=true) to replace |keycodes|, then pass the result to
+/// nvim_feedkeys().
///
/// Example:
/// <pre>
@@ -1551,7 +1551,7 @@ void nvim_set_current_tabpage(Tabpage tabpage, Error *err)
}
}
-/// Creates a new namespace, or gets an existing one.
+/// Creates a new *namespace*, or gets an existing one.
///
/// Namespaces are used for buffer highlights and virtual text, see
/// |nvim_buf_add_highlight()| and |nvim_buf_set_extmark()|.