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(huefy/shades): customize window position #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dpetka2001
Copy link

@dpetka2001 dpetka2001 commented Oct 21, 2024

Make window position for huefy and shades customizable by user in his personal configuration. Only the first window has to be modified, since the others get created off of his position.

Really simple approach to expose most relevant nvim_open_win() fields in user's personal configuration and take it into consideration when creating the windows if they exist.

Feel free to disregard if you have something else in mind. 😄

Closes #9

Make window position for `huefy` and `shades` customizable by user in
his personal configuration. Only the first window has to be modified,
since the others get created off of his position.

Really simple approach to expose most relevant `nvim_open_win()` fields
in user's personal configuration and take it into consideration when
creating the windows if they exist.

Feel free to disregard if you have something else in mind. 😄
@dpetka2001
Copy link
Author

Or if you'd prefer we can put all the fields under nvim_open_win to better represent the vim.api.nvim_open_win() structure, instead of relative being top-level and row/col under position.

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.

Feat request: make position configurable?
1 participant