diff options
-rw-r--r-- | src/nvim/getchar.c | 5 |
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; |