generated from ellisonleao/nvim-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
If auto_toggle is enabled, windows.terminal.start_hidden is "ignored" and the terminal always opens when starting a new session (context)
Details
start_hiddenis checked during session initialization (afterevent_initialized)- Afterwards (on launch or attach),
openis called ifauto_toggleis on. This will always trigger the terminal because that's the intended behavior ofopen.
That's because I suck at designing plugin options 🫠
Probably should remove windows.terminal.start_hidden in v2, to keep things unified.
To be fair, that's not a big deal at all. Actually, people that enable auto_toggle probably expect this behavior (since no one complained so far). But it's worth it keeping it in mind when designing the options for v2.