aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-04-21 01:55:10 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-04-21 12:51:27 +0200
commitb71697bc67dcb90002dcabaf4a61f69d04281f06 (patch)
tree8299a719f67c0f94017629e43e0aa6850a9d9728 /src/nvim/getchar.c
parent9139bf81cf81a93e331f98dcddbe489fc3529787 (diff)
downloadrneovim-b71697bc67dcb90002dcabaf4a61f69d04281f06.tar.gz
rneovim-b71697bc67dcb90002dcabaf4a61f69d04281f06.tar.bz2
rneovim-b71697bc67dcb90002dcabaf4a61f69d04281f06.zip
lint
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 3541ba7cc8..e2566c8c66 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -1328,10 +1328,8 @@ int using_script(void)
return scriptin[curscript] != NULL;
}
-/*
- * This function is called just before doing a blocking wait. Thus after
- * waiting 'updatetime' for a character to arrive.
- */
+/// This function is called just before doing a blocking wait. Thus after
+/// waiting 'updatetime' for a character to arrive.
void before_blocking(void)
{
updatescript(0);
@@ -1340,13 +1338,11 @@ void before_blocking(void)
}
}
-/*
- * updatescipt() is called when a character can be written into the script file
- * or when we have waited some time for a character (c == 0)
- *
- * All the changed memfiles are synced if c == 0 or when the number of typed
- * characters reaches 'updatecount' and 'updatecount' is non-zero.
- */
+/// updatescript() is called when a character can be written to the script file
+/// or when we have waited some time for a character (c == 0).
+///
+/// All the changed memfiles are synced if c == 0 or when the number of typed
+/// characters reaches 'updatecount' and 'updatecount' is non-zero.
static void updatescript(int c)
{
static int count = 0;