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

nvim_win_set_config() changes the position of the windows #38

Open
MLFlexer opened this issue Jan 1, 2024 · 0 comments
Open

nvim_win_set_config() changes the position of the windows #38

MLFlexer opened this issue Jan 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MLFlexer
Copy link
Owner

MLFlexer commented Jan 1, 2024

In the function change_instance the window config is changed. I would like to use

vim.api.nvim_win_set_config(self.output.window_handle, self.output.window_opts) 
vim.api.nvim_win_set_config(self.input.window_handle, self.input.window_opts)   

However this lowers the placement of the output window, and thus I have resulted to use a double call to toggle as a temporary fix for this.

@MLFlexer MLFlexer added the bug Something isn't working label Jan 1, 2024
@MLFlexer MLFlexer changed the title nvim_win_set_config() changes the height of the windows nvim_win_set_config() changes the position of the windows Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant