Conversation
Add keys configuration option to allow users to customize dashboard keybindings (open, close, refresh, prev/next year).
Change default path from ~/.config/nvim to auto-detect the current working directory, allowing the plugin to work with any git repository without manual configuration.
|
Hi!!! I've been digging into the codebase today and submitted a few contributions to improve the tool. If you’d like, I’d also be happy to help reviewing PRs or assist with code reviews for the project. |
|
haloo @jara505 mb for taking this long to review the pr's :< wrapped is currently only scoped for the user's neovim configuration (via if not state.config.path or state.config.path == "" then
state.config.path = vim.fn.stdpath "config" --[[@as string]]
endthis ensures the plugin has a safe fallback to the user's config directory. this logic will definitely be great to revisit once |
There was a problem hiding this comment.
Hi!!!
I've been digging into the codebase today and submitted a few contributions to improve the tool.
If you’d like, I’d also be happy to help reviewing PRs or assist with code reviews for the project.
definitely!
i took a bit of break recently from my plugins, so it would great to have someone helping to build this plugin. feel free to suggest features (especially on #12), open new PRs, or help with reviews!
Overview
Change the default behavior to auto-detect the current working directory instead of hardcoding
~/.config/nvim. This allows the plugin to work with any git repository without requiring manual path configuration. Still maintains backward compatibility for users who want to specify a custom path.Key Changes
state.luato default path to empty stringsetup()ininit.luato usevim.fn.getcwd()when path is emptyImpact
lua/wrapped/state.lua- Default path configurationlua/wrapped/init.lua- Auto-detection logicREADME.md- Documentation update