Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Functionality Issues #2

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

JamesTeague
Copy link

@JamesTeague JamesTeague commented Aug 1, 2024

Link to Issue:

N/A

Description of Issue:

  • Options are not picked up by the plugin
  • Long breaks do not occur at the correct interval
  • Timer rolls over to 1hr after second pomodoro

Solution

This change will set the options back to the class during the setup function.

Long breaks option is used in the if statement to ensure we are long breaking at the correct interval.

Removing the BufLeave event listener on the menu removes the case where we stop the timer that should be running. This allows the timers to function as they should.

Features:

This also includes rewritten code from orumin/pomodoro.nvim. Having the class typed was one motivation but the other was the ability to have the symbols configurable.

Notes:

This changeset incorporates:

wthollingsworth#10 for time formatting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant