Closed Gee19 closed 2 years ago
@Gee19 what about other things in argv ? Should we just skip if there are any flags ?
@Gee19 what about other things in argv ? Should we just skip if there are any flags ?
I'm not aware of any other flags prosession would conflict with but I'm happy to help in finding out.
@Gee19 I meant, should we do this for any flag, not just -q
?
Ideally, since prosession loads the session and files etc, it would conflict with most other flags.
@Gee19 I meant, should we do this for any flag, not just
-q
?Ideally, since prosession loads the session and files etc, it would conflict with most other flags.
That seems reasonable to me 👍
Updated the code to reflect the discussion above (first item in v:argv
will always be the vim command)
Something to consider, it might be better to do this check in a different place, then sessions would still automatically be saved after launching vim in this way.