Skip to content

Start without running with arg #50

@willothy

Description

@willothy

I have functions in my config that rely on argc/argv (related to session management), and I do a lot of lazy loading in my as well. These two things mean that it's not convenient or feasible for me to launch leetcode.nvim from the commandline, since (1) the plugin is not loaded before VimEnter and (2) opening nvim with an argument overwrites my current session for the cwd. I also just prefer the flow of typing the command after opening nvim vs. adding an argument.

It would be nice to just have the Leet command available when the plugin is loaded so that it can be started from a running nvim session, and have the starting with argument be optional.

Happy to contribute a PR for this, just figured I'd open an issue first to see if this change is something you'd be open to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions