I wanted to change the border to "single" in my config, so ended up adding options that get passed to vim.api.nvim_open_win().
I also took the liberty to increase the window width by 2: since the addition of separate_save_and_remove the handbook text was slightly cut off.
Aside from default options, one could also pass others, such as an anchor for a new window, for example:
window = {
anchor = "NW",
row = 1,
col = 1,
}
While "NW" works with hardcoded row and col, other positions will require changin the "auto" row/col calcualtion, a potential future improvement.
I wanted to change the border to "single" in my config, so ended up adding options that get passed to
vim.api.nvim_open_win()
. I also took the liberty to increase the window width by 2: since the addition ofseparate_save_and_remove
the handbook text was slightly cut off.Aside from default options, one could also pass others, such as an anchor for a new window, for example:
While "NW" works with hardcoded row and col, other positions will require changin the "auto" row/col calcualtion, a potential future improvement.