Skip to content

Accept configuration from argument or env #122

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

Open
Jomik opened this issue Mar 26, 2025 · 1 comment
Open

Accept configuration from argument or env #122

Jomik opened this issue Mar 26, 2025 · 1 comment

Comments

@Jomik
Copy link

Jomik commented Mar 26, 2025

It would be nice if we were able to configure lazyjj from somewhere other than the jj/config.toml
Specifically I'd like to be able to configure lazyjj with colors from neovim, when used in neovim.

Similar to what folke has done for lazygit in his snacks repo https://github.com/folke/snacks.nvim/blob/bc0630e43be5699bb94dadc302c0d21615421d93/lua/snacks/lazygit.lua#L43

@Cretezy
Copy link
Owner

Cretezy commented May 4, 2025

Makes sense for me. I think we should have some option like LAZYJJ_JJ_CONFIG which passes down options to jj's --config, allowing to modify the color.

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

No branches or pull requests

2 participants