aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2019-06-22 22:39:19 -0400
committerJames McCoy <jamessan@jamessan.com>2019-06-24 06:46:01 -0400
commit6cb44602075ccfe045e2864513978e2f5a58fe87 (patch)
tree901568c213532a6fc259309e1ff2346e11260737 /src/nvim/getchar.c
parent280938d9321821e01729b63cdac325287dce5d1c (diff)
downloadrneovim-6cb44602075ccfe045e2864513978e2f5a58fe87.tar.gz
rneovim-6cb44602075ccfe045e2864513978e2f5a58fe87.tar.bz2
rneovim-6cb44602075ccfe045e2864513978e2f5a58fe87.zip
lint
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index d4154a3748..10937879a1 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -1260,9 +1260,10 @@ openscript (
return;
}
- if (ignore_script)
- /* Not reading from script, also don't open one. Warning message? */
+ if (ignore_script) {
+ // Not reading from script, also don't open one. Warning message?
return;
+ }
if (scriptin[curscript] != NULL) /* already reading script */
++curscript;