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

refactor(init): move config into object and add tests #33

Merged
merged 3 commits into from
Dec 21, 2023
Merged

Conversation

tris203
Copy link
Owner

@tris203 tris203 commented Dec 21, 2023

Refactor config into a config object

Add tests for config and setup()

@tris203
Copy link
Owner Author

tris203 commented Dec 21, 2023

@willothy review please

Copy link
Collaborator

@willothy willothy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was gonna suggest this, nice! Just a few tweaks needed to the highlight config then lgtm.

lua/hawtkeys/init.lua Outdated Show resolved Hide resolved
lua/hawtkeys/init.lua Show resolved Hide resolved
lua/hawtkeys/init.lua Outdated Show resolved Hide resolved
fix: recompute theme on Colorscheme event
refactor: make default config read-only, merge configs into new table
refactor: add type for the Hawtkeys root module
refactor: rename SupportedKeyboardLayouts to
HawtKeySupportedKeyboardLayouts
Copy link
Collaborator

@willothy willothy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

3m29v9

@tris203 tris203 merged commit f078320 into main Dec 21, 2023
4 checks passed
@tris203 tris203 deleted the config_refactor branch December 21, 2023 23:50
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