stevearc / resession.nvim

A replacement for mksession with a better API
MIT License
175 stars 13 forks source link

feat(new config option): `load_order` #27

Closed Zeioth closed 9 months ago

Zeioth commented 10 months ago

New config options

-- list order ["modification_time", "creation_time", "filename"]
load_order = "modification_time",

Comments

~These options allow modifying almost anything UX related, and should satisfy the needs of most users without adding excessive complexity.~

~This is just a proposal and I'm open to changes. If this is not part of your future vision for the project and you prefer to reject it, that's ok too. In any case, let me know.~

~Once more, thank you for creating another awesome piece of open source software 🫂~

Update

I've cleaned the PR to ship only the load_order option. So it should be safe to merge now.

Zeioth commented 9 months ago

That makes sense. I've cleaned this PR to have load_order only 👍

stevearc commented 9 months ago

Looks good! Just fix the typecheck errors and it's good to merge

stevearc commented 9 months ago

Thanks!