stevearc / resession.nvim

A replacement for mksession with a better API
MIT License
220 stars 15 forks source link

docs: correct wording and typo in API docs #38

Closed zemzelett closed 1 year ago

zemzelett commented 1 year ago

While trying to wrap resession in my Neovim config, i noticed the load function of the API does not list the files in the directory i was giving it via opts.dir. A quick look into the source revealed it ignores/omits opts completely when calling M.list.

Same goes for delete.

I fixed some wording issues while being at it. I hope that okay. If not, i'm happy to open a separate PR.

stevearc commented 1 year ago

Ah, there was a race condition here. I happened to see and review #39 first since it was at the top of my email. If you want, I'm happy to still take the documentation changes, or you can close the PR if you feel your problem has been sufficiently addressed

willothy commented 1 year ago

Oops, should've checked open PRs before submitting mine, sorry about that!

zemzelett commented 1 year ago

Hey, no worries. I suppose this can happen.

I'll change the PR title and remove everything but the documentation parts.

stevearc commented 1 year ago

Thanks!