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

feat(init): add default_color option to colortils setup #36

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

soraliu
Copy link
Contributor

@soraliu soraliu commented Apr 18, 2024

This pull request adds the default_color option to the colortils setup in both the readme.md file and colortils/init.lua.

The default_color option allows users to set a default color value when no color is found. This enhancement provides more flexibility and customization to the colortils plugin.

Use Cases:

-- Setting default_color to a specific color
require("colortils").setup({
    default_color = "#FF0000",
    -- Other settings
})

BTW, correct a typo in the README.md

Feel free to review and test this enhancement. Thank you!

soraliu added 3 commits April 18, 2024 15:14
- Added default_color setting to colortils/init.lua
- Set default_color to "#000000" when no color is found
- Added default_color option to colortils setup in readme.md file.
- Changed set_register_cjoose_format to set_register_choose_format in colortils setup for better clarity and consistency.
@max397574 max397574 merged commit b56383d into max397574:main Apr 19, 2024
3 checks passed
@max397574
Copy link
Owner

Thank you

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