aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-01-22 17:10:29 +0800
committerGitHub <noreply@github.com>2025-01-22 17:10:29 +0800
commitd46ebd2a74036a349606213fcd2a8b3530adebcf (patch)
treec7b087ab87823ec2092abd3caca8de1e9658b3f8 /src/nvim/main.c
parenta66f6add29fd8b2ee352c6089ceca6ab4f522385 (diff)
downloadrneovim-d46ebd2a74036a349606213fcd2a8b3530adebcf.tar.gz
rneovim-d46ebd2a74036a349606213fcd2a8b3530adebcf.tar.bz2
rneovim-d46ebd2a74036a349606213fcd2a8b3530adebcf.zip
fix(startup): avoid crash with completion from -l script (#32160)
Related #27764
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 58d110e8b2..0bd4277d19 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -360,7 +360,7 @@ int main(int argc, char **argv)
setbuf(stdout, NULL); // NOLINT(bugprone-unsafe-functions)
- full_screen = !silent_mode || exmode_active;
+ full_screen = !silent_mode;
// Set the default values for the options that use Rows and Columns.
win_init_size();