Skip to content

feat: deduplicate pre-CLI checks#337

Merged
MordechaiHadad merged 2 commits into
MordechaiHadad:masterfrom
MrDwarf7:feat/cli-entry
Nov 7, 2025
Merged

feat: deduplicate pre-CLI checks#337
MordechaiHadad merged 2 commits into
MordechaiHadad:masterfrom
MrDwarf7:feat/cli-entry

Conversation

@MrDwarf7

Copy link
Copy Markdown
Contributor

Summary

Moves the common case of checking the config and if neovim is running behind a guard clause that only needs to run once before the branching logic begins in the match statement.
This prevents duplicate logic and makes it easier to maintain.

Benefits

Ability for easier maintenance and/or extension.

@MordechaiHadad MordechaiHadad merged commit 7ffa11b into MordechaiHadad:master Nov 7, 2025
20 of 21 checks passed
@MrDwarf7 MrDwarf7 deleted the feat/cli-entry branch November 7, 2025 15:35
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.

2 participants