aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-08-22 16:10:57 +0200
committerGitHub <noreply@github.com>2021-08-22 07:10:57 -0700
commitdb1b0ee3b30fd4cd323907c7f24bd575c22e68f0 (patch)
treef018c725dfbafc2d128db9ed5a4b3662cce14429 /src/nvim/ex_getln.c
parent783140c670115541f3eb68be6e148f2eeb1696e1 (diff)
downloadrneovim-db1b0ee3b30fd4cd323907c7f24bd575c22e68f0.tar.gz
rneovim-db1b0ee3b30fd4cd323907c7f24bd575c22e68f0.tar.bz2
rneovim-db1b0ee3b30fd4cd323907c7f24bd575c22e68f0.zip
refactor: replace TRUE/FALSE with true/false #15425
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 7cab3eb650..0f98c9cd34 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -5734,18 +5734,13 @@ HistoryType get_histtype(const char *const name, const size_t len,
static int last_maptick = -1; /* last seen maptick */
-/*
- * Add the given string to the given history. If the string is already in the
- * history then it is moved to the front. "histype" may be one of he HIST_
- * values.
- */
-void
-add_to_history (
- int histype,
- char_u *new_entry,
- int in_map, /* consider maptick when inside a mapping */
- int sep /* separator character used (search hist) */
-)
+/// Add the given string to the given history. If the string is already in the
+/// history then it is moved to the front. "histype" may be one of he HIST_
+/// values.
+///
+/// @parma in_map consider maptick when inside a mapping
+/// @param sep separator character used (search hist)
+void add_to_history(int histype, char_u *new_entry, int in_map, int sep)
{
histentry_T *hisptr;