aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-12-05 23:33:22 -0500
committerGitHub <noreply@github.com>2021-12-05 23:33:22 -0500
commit523f03b506bf577811c0e136bc852cdb89f92c00 (patch)
tree300f7c7b36f176e593e52c253c6ed2cb25777c49 /src/nvim/getchar.c
parent4306b395defb7ef8f614127e0fbe362656346da3 (diff)
downloadrneovim-523f03b506bf577811c0e136bc852cdb89f92c00.tar.gz
rneovim-523f03b506bf577811c0e136bc852cdb89f92c00.tar.bz2
rneovim-523f03b506bf577811c0e136bc852cdb89f92c00.zip
lint (#16526)
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 2f4b59837a..bc3cbaa986 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -1794,11 +1794,9 @@ static int vgetorpeek(bool advance)
* try re-mapping.
*/
for (;;) {
- /*
- * os_breakcheck() is slow, don't use it too often when
- * inside a mapping. But call it each time for typed
- * characters.
- */
+ // os_breakcheck() is slow, don't use it too often when
+ // inside a mapping. But call it each time for typed
+ // characters.
if (typebuf.tb_maplen) {
line_breakcheck();
} else {